diff options
author | George Hazan <george.hazan@gmail.com> | 2012-06-20 17:00:14 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-06-20 17:00:14 +0000 |
commit | 30ab6ceb71842f003f649b3d62b89af010cf40d1 (patch) | |
tree | b1dae7a6d545cdf622a165ba4c576d3a41d71221 /src/core | |
parent | 65461e7b4edb683cc09086fdaf49e0c2ef918bd4 (diff) |
- direct call of MS_SKIN_ADDNEWSOUND replaced with Skin_AddSound() call;
- obsolete structure SKINSOUNDDESC removed
- dynamically translated hot keys;
- checked correct LPGEN'ing of the sounds creation;
- code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@500 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/miranda.h | 35 |
1 files changed, 21 insertions, 14 deletions
diff --git a/src/core/miranda.h b/src/core/miranda.h index 8f747ee86b..edd32bfb25 100644 --- a/src/core/miranda.h +++ b/src/core/miranda.h @@ -111,11 +111,11 @@ extern LPFN_FREEADDRINFO MyFreeaddrinfo; extern LPFN_WSASTRINGTOADDRESSA MyWSAStringToAddress;
extern LPFN_WSAADDRESSTOSTRINGA MyWSAAddressToString;
-/**** file.c ***************************************************************************/
+/**** file.cpp *************************************************************************/
void PushFileEvent(HANDLE hContact, HANDLE hdbe, LPARAM lParam);
-/**** memory.c *************************************************************************/
+/**** memory.cpp ***********************************************************************/
#ifdef _STATIC
void* mir_alloc(size_t);
@@ -137,13 +137,13 @@ char* mir_u2a_cp(const wchar_t* src, int codepage); char* mir_u2a(const wchar_t* src);
#endif
-/**** miranda.c ************************************************************************/
+/**** miranda.cpp **********************************************************************/
extern HINSTANCE hMirandaInst;
extern HANDLE hOkToExitEvent, hModulesLoadedEvent;
extern pfnExceptionFilter pMirandaExceptFilter;
-/**** modules.c ************************************************************************/
+/**** modules.cpp **********************************************************************/
int CallPluginEventHook(HINSTANCE hInst, HANDLE hEvent, WPARAM wParam, LPARAM lParam);
void KillModuleEventHooks(HINSTANCE);
@@ -153,7 +153,7 @@ void KillObjectEventHooks(void* pObject); void KillObjectServices(void* pObject);
void KillObjectThreads(void* pObject);
-/**** utf.c ****************************************************************************/
+/**** utf.cpp **************************************************************************/
char* Utf8Decode(char* str, wchar_t** ucs2);
char* Utf8DecodeCP(char* str, int codepage, wchar_t** ucs2);
@@ -178,7 +178,7 @@ int Ucs2toUtf8Len(const wchar_t *src); #define Utf8DecodeT Utf8DecodeUcs2
#define Utf8EncodeT Utf8EncodeUcs2
-/**** langpack.c ***********************************************************************/
+/**** langpack.cpp *********************************************************************/
int LangPackGetDefaultCodePage();
int LangPackGetDefaultLocale();
@@ -204,19 +204,26 @@ __inline unsigned int hashstr(const wchar_t * key) }
#pragma optimize("", on)
-/**** path.c ***************************************************************************/
+/**** options.cpp **********************************************************************/
+
+HTREEITEM FindNamedTreeItemAtRoot(HWND hwndTree, const TCHAR* name);
+
+/**** path.cpp *************************************************************************/
-int pathToAbsolute(const char *pSrc, char *pOut, char* base);
void CreatePathToFile(char* wszFilePath);
-int CreateDirectoryTree(const char *szDir);
void CreatePathToFileW(WCHAR* wszFilePath);
+
+int CreateDirectoryTree(const char *szDir);
int CreateDirectoryTreeW(const WCHAR *szDir);
+
+int pathToAbsolute(const char *pSrc, char *pOut, char* base);
int pathToAbsoluteW(const TCHAR *pSrc, TCHAR *pOut, TCHAR* base);
+
#define pathToAbsoluteT pathToAbsoluteW
#define CreatePathToFileT CreatePathToFileW
#define CreateDirectoryTreeT CreateDirectoryTreeW
-/**** skin2icons.c *********************************************************************/
+/**** skin2icons.cpp *******************************************************************/
HANDLE IcoLib_AddNewIcon(SKINICONDESC* sid);
HICON IcoLib_GetIcon(const char* pszIconName, bool big);
@@ -224,7 +231,7 @@ HICON IcoLib_GetIconByHandle(HANDLE hItem, bool big); HANDLE IcoLib_IsManaged(HICON hIcon);
int IcoLib_ReleaseIcon(HICON hIcon, char* szIconName, bool big);
-/**** skinicons.c **********************************************************************/
+/**** skinicons.cpp ********************************************************************/
HICON LoadSkinProtoIcon(const char* szProto, int status, bool big = false);
HICON LoadSkinIcon(int idx, bool big = false);
@@ -248,7 +255,7 @@ void Window_FreeIcon_IcoLib(HWND hWnd); #define IconLib_ReleaseIcon(hIcon, szName) IcoLib_ReleaseIcon(hIcon, szName, false);
#define Safe_DestroyIcon(hIcon) if (hIcon) DestroyIcon(hIcon)
-/**** clistmenus.c **********************************************************************/
+/**** clistmenus.cpp ********************************************************************/
extern HANDLE hMainMenuObject, hContactMenuObject, hStatusMenuObject;
extern HANDLE hPreBuildMainMenuEvent, hPreBuildContactMenuEvent;
@@ -259,7 +266,7 @@ extern const int skinIconStatusFlags[ MAX_STATUS_COUNT ]; int TryProcessDoubleClick(HANDLE hContact);
-/**** protocols.c ***********************************************************************/
+/**** protocols.cpp *********************************************************************/
#define OFFSET_PROTOPOS 200
#define OFFSET_VISIBLE 400
@@ -295,7 +302,7 @@ __inline static INT_PTR CallProtoService(const char* szModule, const char* szSer return CallProtoServiceInt(NULL, szModule, szService, wParam, lParam);
}
-/**** utils.c **************************************************************************/
+/**** utils.cpp ************************************************************************/
char* __fastcall rtrim(char* str);
TCHAR* __fastcall rtrim(TCHAR* str);
|