diff options
author | Vadim Dashevskiy <watcherhd@gmail.com> | 2012-07-11 17:09:09 +0000 |
---|---|---|
committer | Vadim Dashevskiy <watcherhd@gmail.com> | 2012-07-11 17:09:09 +0000 |
commit | bb22e7b2a0af67cc65ce5179917b20e5977ed4ef (patch) | |
tree | 120e18f5a61144f3f632263e05cb49109f672615 /plugins/Skins/MirandaSkinnedDialog.h | |
parent | 3b8d44fb4646951be55b3777cbe30d3280867067 (diff) |
MyDetails reverted to older version that doesn't use Skins plugin
git-svn-id: http://svn.miranda-ng.org/main/trunk@905 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Skins/MirandaSkinnedDialog.h')
-rw-r--r-- | plugins/Skins/MirandaSkinnedDialog.h | 64 |
1 files changed, 0 insertions, 64 deletions
diff --git a/plugins/Skins/MirandaSkinnedDialog.h b/plugins/Skins/MirandaSkinnedDialog.h deleted file mode 100644 index d556b9a495..0000000000 --- a/plugins/Skins/MirandaSkinnedDialog.h +++ /dev/null @@ -1,64 +0,0 @@ -#ifndef __MIRANDA_SKINNED_DIALOG_H__
-# define __MIRANDA_SKINNED_DIALOG_H__
-
-#include "SkinLib\SkinnedDialog.h"
-
-class SkinOption;
-class MirandaSkinnedDialog;
-
-typedef void (*MirandaSkinnedCallback)(void *param, const MirandaSkinnedDialog *dlg);
-
-
-class MirandaSkinnedDialog : public SkinnedDialog
-{
-public:
- MirandaSkinnedDialog(const char *name, const char *description, const char *module);
- virtual ~MirandaSkinnedDialog();
-
- virtual const char * getDescription() const;
- virtual const char * getModule() const;
-
- virtual const TCHAR * getSkinName() const;
- virtual void setSkinName(const TCHAR *name);
-
- virtual bool finishedConfiguring();
-
- virtual void storeToDB(const SkinOptions *opts);
-
- virtual void setOnSkinChangedCallback(MirandaSkinnedCallback cb, void *param);
-
-protected:
- virtual int compile();
-
-private:
- std::string description;
- std::string module;
- std::tstring skinName;
- MirandaSkinnedCallback skinChangedCallback;
- void *skinChangedCallbackParam;
-
- void updateFilename();
-
- void loadFromDB(SkinOption *opt);
- void storeToDB(const SkinOption *opt);
-
- bool getSettting(const char *name, bool defVal, bool global = false);
- void setSettting(const char *name, bool val, bool global = false);
- int getSettting(const char *name, int defVal, bool global = false);
- void setSettting(const char *name, int val, bool global = false);
- void getSettting(const char *name, const WCHAR *defVal, std::wstring &ret, bool global = false);
- void setSettting(const char *name, const WCHAR *val, bool global = false);
- void getSettting(const char *name, const char *defVal, std::string &ret, bool global = false);
- void setSettting(const char *name, const char *val, bool global = false);
-
- inline void getSettingName(char *setting, const char * name, bool global);
-
- void fireOnSkinChanged();
-
- void onOptionChange(const SkinOption *opt);
-
- static void staticOnOptionChange(void *param, const SkinOption *opt);
-};
-
-
-#endif // __MIRANDA_SKINNED_DIALOG_H__
|