diff options
author | George Hazan <george.hazan@gmail.com> | 2013-04-12 13:55:58 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-04-12 13:55:58 +0000 |
commit | 0516812f7ae347ddc83354db3dc64626999ae679 (patch) | |
tree | 320ffa458d3d6cc7909350a4d7a80b47f582bf06 /plugins/CountryFlags/src/flags.h | |
parent | fcd4450462a660eb904c0fc07ff82665dd35b076 (diff) |
- no more "unknown" flags in the extra column;
- options extracted to the separate file;
- version bump
git-svn-id: http://svn.miranda-ng.org/main/trunk@4432 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/CountryFlags/src/flags.h')
-rw-r--r-- | plugins/CountryFlags/src/flags.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/plugins/CountryFlags/src/flags.h b/plugins/CountryFlags/src/flags.h index 9ebee77f24..d8a0a9cc79 100644 --- a/plugins/CountryFlags/src/flags.h +++ b/plugins/CountryFlags/src/flags.h @@ -41,6 +41,10 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include "resource.h"
#include "version.h"
+extern HINSTANCE hInst;
+extern int nCountriesCount;
+extern CountryListEntry *countries;
+
/* huffman.c */
#ifdef HUFFMAN_ENCODE
int Huffman_Compress(unsigned char *in,unsigned char *out,unsigned int insize );
@@ -51,7 +55,6 @@ void Huffman_Uncompress(unsigned char *in,unsigned char *out,unsigned int insize HICON __fastcall LoadFlagIcon(int countryNumber);
int __fastcall CountryNumberToIndex(int countryNumber);
void InitIcons(void);
-void UninitIcons(void);
/* ip2country.c */
INT_PTR ServiceIpToCountry(WPARAM wParam,LPARAM lParam);
@@ -60,7 +63,6 @@ void UninitIpToCountry(void); /* extraimg.c */
void InitExtraImg(void);
-void UninitExtraImg(void);
/* utils.c */
typedef void (CALLBACK *BUFFEREDPROC)(LPARAM lParam);
@@ -73,3 +75,8 @@ typedef void (CALLBACK *BUFFEREDPROC)(LPARAM lParam); #endif
void PrepareBufferedFunctions(void);
void KillBufferedFunctions(void);
+
+/* options.c */
+extern bool bUseUnknown, bShowStatusIcon, bShowExtraIcon, bUseIpToCountry;
+void LoadOptions(void);
+int OnOptionsInit(WPARAM wParam,LPARAM lParam);
|