Subversion Repositories spk

Rev

Rev 190 | Rev 202 | Go to most recent revision | 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"
20
#include "Utils/String.h"
185 cycrow 21
#include "spkdef.h"
1 cycrow 22
 
23
typedef int s_int;
24
 
25
#include "time.h"
197 cycrow 26
#define ERRORLOG(n) Utils::WString::Number(n) + " " + Utils::WString::Number((long)time(NULL))
27
#define ERRORLOG_S(n) Utils::String::Number(n) + " " + Utils::String::Number((long)time(NULL))
1 cycrow 28
 
190 cycrow 29
#define LIBRARYVERSION 2.31f
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__