diff options
Diffstat (limited to 'plugins/CyrTranslit/src')
| -rw-r--r-- | plugins/CyrTranslit/src/MirandaContact.cpp | 17 | ||||
| -rw-r--r-- | plugins/CyrTranslit/src/MirandaContact.h | 10 | 
2 files changed, 4 insertions, 23 deletions
diff --git a/plugins/CyrTranslit/src/MirandaContact.cpp b/plugins/CyrTranslit/src/MirandaContact.cpp index 931ed6e2c6..166ec8cfa7 100644 --- a/plugins/CyrTranslit/src/MirandaContact.cpp +++ b/plugins/CyrTranslit/src/MirandaContact.cpp @@ -59,7 +59,6 @@ void MirandaContact::initialize()  	HookEvent(ME_CLIST_PREBUILDCONTACTMENU, onPreBuildContactMenu);
  	TransliterationProtocol::initialize();
 -	activateTransliterationProtocolForSubscribedContacts();
  }
  //------------------------------------------------------------------------------
 @@ -109,22 +108,6 @@ void MirandaContact::generateMenuItemsForAllContacts()  //------------------------------------------------------------------------------
 -void MirandaContact::activateTransliterationProtocolForSubscribedContacts()
 -{
 -	HANDLE hContact = db_find_first();
 -	if (!hContact)
 -		return;
 -
 -	do {
 -		MirandaContact mc = getContact(reinterpret_cast<HANDLE>(hContact));
 -		if (mc.shouldTransliterateOutgoingMessages())
 -			mc.save();
 -	}
 -		while(hContact = db_find_next(hContact));
 -}
 -
 -//------------------------------------------------------------------------------
 -
  INT_PTR MirandaContact::onMenuCommandTransliterate(WPARAM wParam, LPARAM lParam)
  {
  	HANDLE hContact = reinterpret_cast<HANDLE>(wParam);
 diff --git a/plugins/CyrTranslit/src/MirandaContact.h b/plugins/CyrTranslit/src/MirandaContact.h index 1fdda0156e..ab7de88407 100644 --- a/plugins/CyrTranslit/src/MirandaContact.h +++ b/plugins/CyrTranslit/src/MirandaContact.h @@ -1,17 +1,17 @@  /**
   * CyrTranslit: the Cyrillic transliteration plug-in for Miranda IM.
 - * Copyright 2005 Ivan Krechetov. 
 - * 
 + * Copyright 2005 Ivan Krechetov.
 + *
   * This program is free software; you can redistribute it and/or
   * modify it under the terms of the GNU General Public License
   * as published by the Free Software Foundation; either version 2
   * of the License, or (at your option) any later version.
 - * 
 + *
   * This program is distributed in the hope that it will be useful,
   * but WITHOUT ANY WARRANTY; without even the implied warranty of
   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   * GNU General Public License for more details.
 - * 
 + *
   * You should have received a copy of the GNU General Public License
   * along with this program; if not, write to the Free Software
   * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 @@ -72,8 +72,6 @@ private:  	*/
  	static void generateMenuItemsForAllContacts();
 -	static void activateTransliterationProtocolForSubscribedContacts();
 -
  	/**
  	* This is a callback function for the transliteration command menu item.
  	* This menu item is contact-specific.
  | 
