diff options
author | George Hazan <george.hazan@gmail.com> | 2012-10-11 20:30:43 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-10-11 20:30:43 +0000 |
commit | 52a779c43192b3b3824f6ade3a11f4eec969f6c9 (patch) | |
tree | 4455e64340eaaedd4a96a66f7c10bec730f276b1 /plugins/CyrTranslit/src/MirandaContact.h | |
parent | ae1775795ae23f67db0079cd845b904c5d4a8e98 (diff) |
final fix for CyrTranslit
git-svn-id: http://svn.miranda-ng.org/main/trunk@1876 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/CyrTranslit/src/MirandaContact.h')
-rw-r--r-- | plugins/CyrTranslit/src/MirandaContact.h | 18 |
1 files changed, 3 insertions, 15 deletions
diff --git a/plugins/CyrTranslit/src/MirandaContact.h b/plugins/CyrTranslit/src/MirandaContact.h index ab7de88407..3cf46ed10e 100644 --- a/plugins/CyrTranslit/src/MirandaContact.h +++ b/plugins/CyrTranslit/src/MirandaContact.h @@ -42,21 +42,14 @@ public: * @param hContact The handle of the contact object to be instantiated.
* @return The Miranda IM contact having the passed handle.
*/
- static MirandaContact getContact(HANDLE hContact);
+ static bool bIsActive(HANDLE hContact);
/**
* Saves this object's data to the persistent storage -- the Miranda
* database. This information may be retreived later on by means of
* getContact() factory method invocation.
*/
- void save() const;
-
- /**
- * @return True only if the Cyrillic transliteration is on for this contact.
- */
- bool shouldTransliterateOutgoingMessages() const;
-
- ~MirandaContact();
+ static void save(HANDLE hContact, bool bValue);
private:
static const char* SETTINGS_MODULE;
@@ -64,13 +57,11 @@ private: static char *MENU_ITEM_TEXT;
- MirandaContact();
-
/**
* Must be called on Miranda start-up to generate the transliteration
* command menu items for all the contacts (a contact-specific menu).
*/
- static void generateMenuItemsForAllContacts();
+ static void addMenuItem();
/**
* This is a callback function for the transliteration command menu item.
@@ -111,9 +102,6 @@ private: * @return Always returns 0.
*/
static int onPreBuildContactMenu(WPARAM wParam, LPARAM lParam);
-
- HANDLE handle;
- bool transliterateOutgoingMessages;
};
}
\ No newline at end of file |