Subversion Repositories spk

Rev

Rev 281 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
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 "lists.h"
10
#include "File_IO.h"
11
#include "DirIO.h"
12
#include "XspFile.h"
13
#include "Packages.h"
14
#include "spkdef.h"
15
#include "ModDiff.h"
16
#include "VirtualFileSystem.h"
94 cycrow 17
#include "GameDirectories.h"
104 cycrow 18
#include "Languages.h"
111 cycrow 19
#include "Utils/List.h"
185 cycrow 20
#include "spkdef.h"
1 cycrow 21
 
218 cycrow 22
#include "StringList.h"
23
 
1 cycrow 24
typedef int s_int;
25
 
26
#include "time.h"
197 cycrow 27
#define ERRORLOG(n) Utils::WString::Number(n) + " " + Utils::WString::Number((long)time(NULL))
1 cycrow 28
 
296 cycrow 29
#define LIBRARYVERSION 2.51f
18 cycrow 30
 
1 cycrow 31
namespace SPK {
197 cycrow 32
	void			SPKEXPORT AssignAutomaticFiletypes(const Utils::WStringList &list);
33
	s_int			SPKEXPORT GetAutomaticFiletype(const Utils::WString &file, Utils::WString *extradir, bool bUseSpecial);
34
	Utils::WString	SPKEXPORT GetSizeString ( unsigned long size );
35
	bool			SPKEXPORT WriteScriptStyleSheet(const Utils::WString &dest);
36
	Utils::WString	SPKEXPORT ConvertTimeString(time_t time);
37
	Utils::WString	SPKEXPORT FormatTextName(int id, int lang, bool newstyle);
1 cycrow 38
};
39
 
40
#endif //__SPK_H__