diff options
author | Vadim Dashevskiy <watcherhd@gmail.com> | 2012-07-24 06:41:19 +0000 |
---|---|---|
committer | Vadim Dashevskiy <watcherhd@gmail.com> | 2012-07-24 06:41:19 +0000 |
commit | a33833212f040272fc6c97047c8cb335b6f5405a (patch) | |
tree | d778dfd7187571182d9a1333a72cc941b60f7e3d /plugins/SmileyAdd/customsmiley.h | |
parent | ec5a78dd895f86e9077caf1aacd3e49b48dffbcf (diff) |
SimpleAR, SimpleStatusMsg, SmileyAdd, SpellChecker: changed folder structure
git-svn-id: http://svn.miranda-ng.org/main/trunk@1149 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SmileyAdd/customsmiley.h')
-rw-r--r-- | plugins/SmileyAdd/customsmiley.h | 85 |
1 files changed, 0 insertions, 85 deletions
diff --git a/plugins/SmileyAdd/customsmiley.h b/plugins/SmileyAdd/customsmiley.h deleted file mode 100644 index ce38803c4a..0000000000 --- a/plugins/SmileyAdd/customsmiley.h +++ /dev/null @@ -1,85 +0,0 @@ -/*
-Miranda SmileyAdd Plugin
-Copyright (C) 2008 - 2011 Boris Krasnovskiy All Rights Reserved
-
-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 version 2
-of the License.
-
-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, see <http://www.gnu.org/licenses/>.
-*/
-
-#include "general.h"
-#include "smileys.h"
-
-#ifndef SMILEYADD_CUSTOMSMILEY_H_
-#define SMILEYADD_CUSTOMSMILEY_H_
-
-class SmileyCType : public SmileyType
-{
-public:
- SmileyCType(const bkstring& fullpath, const TCHAR* filepath);
-
- bool CreateTriggerText(char* text);
-};
-
-class SmileyPackCType
-{
-public:
- typedef SMOBJLIST<SmileyCType> SmileyVectorType;
- typedef SMOBJLIST<SmileyLookup> SmileyLookupType;
-
-private:
- SmileyVectorType m_SmileyList;
- SmileyLookupType m_SmileyLookup;
-
- HANDLE m_id;
-
- void InsertLookup(SmileyCType& sml, bkstring& lk, bool first);
- void AddTriggersToSmileyLookup(void);
-
-public:
- SmileyVectorType& GetSmileyList(void) { return m_SmileyList; }
- SmileyLookupType& GetSmileyLookup(void) { return m_SmileyLookup; }
-
- int SmileyCount(void) const { return m_SmileyList.getCount(); }
-
- SmileyCType* GetSmiley(unsigned index) { return &m_SmileyList[index]; }
-
- HANDLE GetId(void) { return m_id; }
- void SetId(HANDLE id) { m_id = id; }
-
- bool LoadSmileyDir(TCHAR* dir);
- bool LoadSmiley(TCHAR* path);
-};
-
-
-class SmileyPackCListType
-{
-public:
- typedef SMOBJLIST<SmileyPackCType> SmileyPackVectorType;
-
-private:
- SmileyPackVectorType m_SmileyPacks;
-
-public:
- int NumberOfSmileyPacks(void) { return m_SmileyPacks.getCount(); }
-
- bool AddSmileyPack(HANDLE hContact, TCHAR* dir);
- bool AddSmiley(HANDLE hContact, TCHAR* path);
-
- void ClearAndFreeAll(void) { m_SmileyPacks.destroy(); }
-
- SmileyPackCType* GetSmileyPack(HANDLE id);
-};
-
-extern SmileyPackCListType g_SmileyPackCStore;
-
-#endif
|