Subversion Repositories spk

Rev

Rev 197 | Rev 209 | 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"
185 cycrow 20
#include "spkdef.h"
1 cycrow 21
 
22
typedef int s_int;
23
 
24
#include "time.h"
197 cycrow 25
#define ERRORLOG(n) Utils::WString::Number(n) + " " + Utils::WString::Number((long)time(NULL))
1 cycrow 26
 
190 cycrow 27
#define LIBRARYVERSION 2.31f
18 cycrow 28
 
1 cycrow 29
namespace SPK {
197 cycrow 30
	void			SPKEXPORT AssignAutomaticFiletypes(const Utils::WStringList &list);
31
	s_int			SPKEXPORT GetAutomaticFiletype(const Utils::WString &file, Utils::WString *extradir, bool bUseSpecial);
32
	Utils::WString	SPKEXPORT GetSizeString ( unsigned long size );
33
	bool			SPKEXPORT WriteScriptStyleSheet(const Utils::WString &dest);
34
	Utils::WString	SPKEXPORT ConvertTimeString(time_t time);
35
	Utils::WString	SPKEXPORT FormatTextName(int id, int lang, bool newstyle);
1 cycrow 36
};
37
 
38
#endif //__SPK_H__