Subversion Repositories spk

Rev

Rev 280 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1 cycrow 1
// stdafx.h : include file for standard system include files,
2
// or project specific include files that are used frequently, but
3
// are changed infrequently
4
#pragma once
5
 
6
#include <spk.h>
7
#include "../../common/spknet.h"
8
#include "../../common/InputBox.h"
9
 
10
using namespace System::Windows::Forms;
11
using namespace Microsoft::Win32;
12
 
281 cycrow 13
#define PMLVERSION	1.90f
238 cycrow 14
#define PMLBETA		0l
281 cycrow 15
#define PMLDATE		"28/06/2024"
1 cycrow 16
 
17
 
18
namespace PluginManager {
19
 
20
	ref class SortPackage : public Object
21
	{
22
	public:
23
		SortPackage() { Package = NULL; }
24
		SortPackage(CBaseFile *p) { Package = p; }
25
		CBaseFile *Package;
26
	};
27
 
28
	typedef struct SGameLauncherFlags {
29
		int		iIgnoreJoy;
30
		bool	bNoAbout;
31
		bool	bNoIntro;
32
	} SGameLauncherFlags;
33
 
34
	typedef ref struct STips : System::Object {
35
		long iTips;
36
		System::Collections::ArrayList ^sTips;
37
	} STips;
38
 
39
	void DisplayListIcon(CBaseFile *p, ListView ^list, ListViewItem ^item);
197 cycrow 40
	bool WriteRegistryValue(const Utils::WString &rKey, const Utils::WString &rValue);
41
	System::String ^ReadRegistryValue(const Utils::WString &rKey);
1 cycrow 42
 
43
	System::String ^GetVersionString();
44
	System::String ^GetVersionString(float version, int beta);
45
 
46
	void DisplayContextIcon(System::String ^filename, ToolStripMenuItem ^item, ImageList ^list);
47
	void DisplayContextIcon(CBaseFile *p, ToolStripMenuItem ^item, ImageList ^list);
48
 
49
	System::String ^GetProgramName(bool advanced);
50
}