| 1 |
cycrow |
1 |
#ifndef __SPK_H__
|
|
|
2 |
#define __SPK_H__
|
|
|
3 |
|
|
|
4 |
#include "Logging/log.h"
|
|
|
5 |
#include "File.h"
|
|
|
6 |
#include "SpkFile.h"
|
|
|
7 |
#include "MultiSpkFile.h"
|
|
|
8 |
#include "CatFile.h"
|
|
|
9 |
#include "CyString.h"
|
|
|
10 |
#include "lists.h"
|
|
|
11 |
#include "StringList.h"
|
|
|
12 |
#include "File_IO.h"
|
|
|
13 |
#include "DirIO.h"
|
|
|
14 |
#include "XspFile.h"
|
|
|
15 |
#include "Packages.h"
|
|
|
16 |
#include "spkdef.h"
|
|
|
17 |
#include "ModDiff.h"
|
|
|
18 |
#include "VirtualFileSystem.h"
|
|
|
19 |
#include "hash.h"
|
|
|
20 |
|
|
|
21 |
typedef int s_int;
|
|
|
22 |
|
|
|
23 |
#include "time.h"
|
|
|
24 |
#define ERRORLOG(n) CyString::Number(n) + " " + CyString::Number((long)time(NULL))
|
|
|
25 |
|
|
|
26 |
namespace SPK {
|
|
|
27 |
void SPKEXPORT AssignAutomaticFiletypes(CyStringList *list);
|
|
|
28 |
s_int SPKEXPORT GetAutomaticFiletype(CyString file, CyString *extradir);
|
|
|
29 |
CyString SPKEXPORT GetSizeString ( unsigned long size );
|
|
|
30 |
bool SPKEXPORT WriteScriptStyleSheet(CyString dest);
|
|
|
31 |
CyString SPKEXPORT ConvertTimeString(time_t time);
|
|
|
32 |
CyString SPKEXPORT FormatTextName(int id, int lang, bool newstyle);
|
|
|
33 |
};
|
|
|
34 |
|
|
|
35 |
#endif //__SPK_H__
|