diff options
author | Vadim Dashevskiy <watcherhd@gmail.com> | 2012-05-15 10:38:20 +0000 |
---|---|---|
committer | Vadim Dashevskiy <watcherhd@gmail.com> | 2012-05-15 10:38:20 +0000 |
commit | 48540940b6c28bb4378abfeb500ec45a625b37b6 (patch) | |
tree | 2ef294c0763e802f91d868bdef4229b6868527de /plugins/Sessions/Src/Utils.h | |
parent | 5c350913f011e119127baeb32a6aedeb4f0d33bc (diff) |
initial commit
git-svn-id: http://svn.miranda-ng.org/main/trunk@2 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Sessions/Src/Utils.h')
-rw-r--r-- | plugins/Sessions/Src/Utils.h | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/plugins/Sessions/Src/Utils.h b/plugins/Sessions/Src/Utils.h new file mode 100644 index 0000000000..ce4fe75a59 --- /dev/null +++ b/plugins/Sessions/Src/Utils.h @@ -0,0 +1,45 @@ +/*
+Sessions Management plugin for Miranda IM
+
+Copyright (C) 2007-2008 Danil Mozhar
+
+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 3 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, see <http://www.gnu.org/licenses/>.
+*/
+
+#ifndef __UTILS_H__
+# define __UTILS_H__
+
+void SetInSessionOrder(HANDLE hContact,int mode,int count,unsigned int ordernum);
+void AddInSessionOrder(HANDLE hContact,int mode,int ordernum,int writemode);
+int GetInSessionOrder(HANDLE hContact,int mode,int count);
+void AddSessionMark(HANDLE hContact,int mode,char bit);
+void RemoveSessionMark(HANDLE hContact,int mode,int marknum);
+void SetSessionMark(HANDLE hContact,int mode,char bit,unsigned int marknum);
+BOOL LoadContactsFromMask(HANDLE hContact,int mode,int count);
+int AddToCurSession (DWORD wparam,LPARAM lparam);
+int DelFromCurSession(DWORD wparam,LPARAM lparam);
+int CheckForDuplicate(DWORD contact_list[],DWORD lparam);
+BOOL ResaveSettings(char* szName,int iFirst,int iLimit,TCHAR* pszPrevSetting);
+void OffsetWindow(HWND parent, HWND hwnd, int dx, int dy);
+int LoadSessionToCombobox (HWND hdlg,BOOL mode,int iLimit,char* pszSetting,int iFirstNum);
+int AddIcon(HICON icon, char *name, TCHAR *description);
+int MarkUserDefSession(int ses_count,BYTE bCheck);
+BYTE IsMarkedUserDefSession(int ses_count);
+void SavePosition(HWND hWnd, char *wndName);
+void LoadPosition(HWND hWnd, char *wndName);
+int CheckContactVisibility(HANDLE hContact);
+void RenameUserDefSession(int ses_count,TCHAR* ptszNewName);
+int FillFavoritesMenu (HMENU hMenu,int iLimit);
+
+#endif // __UTILS_H__
\ No newline at end of file |