kjk / moriarty-sm

This URL has Read+Write access

moriarty-sm / InfoManGlobals.h
100644 51 lines (37 sloc) 1.064 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#ifndef INFOMAN_GLOBALS_H__
#define INFOMAN_GLOBALS_H__
 
#include <Debug.hpp>
#include <BaseTypes.hpp>
 
#include "InfoMan.h"
 
enum InfoManExtEvents {
    extEventLookupStarted,
    extEventLookupProgress,
    extEventLookupFinished
};
 
class Preferences;
class LookupManager;
class MainWindow;
class HyperlinkHandler;
 
Preferences* GetPreferences();
LookupManager* GetLookupManager();
HyperlinkHandler* GetHyperlinkHandler();
char_t* GetStorePath(const char_t* name);
 
#define INFOMAN_VERSION "1.6"
 
#ifdef _PALM_OS
#define PLATFORM_NAME "PalmOS"
#endif
 
#ifdef _WIN32_WCE
#ifdef WIN32_PLATFORM_PSPC
#define PLATFORM_NAME "PocketPC"
#endif
#ifdef WIN32_PLATFORM_WFSP
#define PLATFORM_NAME "Smartphone"
#endif
#endif
 
#define clientInfo PLATFORM_NAME " " INFOMAN_VERSION
 
#define SERVER_LOCALHOST "192.168.1.2:4000"
#define SERVER_ADDRESS SERVER_LOCALHOST
 
 
#define dataStreamPostfix "data"
#define prefsStreamPostfix "prefs"
 
#define globalPrefsStream prefsStreamPostfix
 
#endif // INFOMAN_GLOBALS_H__