File tree Expand file tree Collapse file tree 8 files changed +476
-15
lines changed Expand file tree Collapse file tree 8 files changed +476
-15
lines changed Original file line number Diff line number Diff line change
1
+ /* ****************************************************************************
2
+ *
3
+ * PROJECT: MTADiag
4
+ * LICENSE: GNU GPL v3
5
+ * FILE: ServicingScript.h
6
+ * PURPOSE: Servicing script launcher
7
+ *
8
+ * Multi Theft Auto is available from http://www.multitheftauto.com/
9
+ *
10
+ *****************************************************************************/
11
+ #pragma once
12
+ #include < string>
13
+
14
+ class ServicingScript
15
+ {
16
+ public:
17
+ ServicingScript () = default ;
18
+
19
+ void Run ();
20
+
21
+ private:
22
+ std::string GetScriptContent ();
23
+ };
Original file line number Diff line number Diff line change
1
+ /*****************************************************************************
2
+ *
3
+ * PROJECT: MTADiag
4
+ * LICENSE: GNU GPL v3
5
+ * FILE: resource.h
6
+ * PURPOSE: Resource header file
7
+ *
8
+ * Multi Theft Auto is available from http://www.multitheftauto.com/
9
+ *
10
+ *****************************************************************************/
11
+ #define TEXTFILE 256
12
+ #define IDR_SERVICING_SCRIPT 101
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ workspace "MTADiag"
7
7
toolset " v141_xp" -- Enable XP support
8
8
flags { " StaticRuntime" }
9
9
vectorextensions " SSE"
10
+ defines { " _CRT_SECURE_NO_WARNINGS" , " WIN32_LEAN_AND_MEAN" }
10
11
11
12
filter " configurations:Debug"
12
13
targetsuffix " _d"
Original file line number Diff line number Diff line change 1
- /////////////////////////////////////////////////////////////////////////////
2
-
3
- //
4
-
5
- // Icon
6
-
7
- //
8
-
9
-
10
-
11
- // Icon with lowest ID value placed first to ensure application icon
12
-
13
- // remains consistent on all systems.
14
-
15
- IDI_APPLICATION ICON "MTADiag.ico"
1
+ /*****************************************************************************
2
+ *
3
+ * PROJECT: MTADiag
4
+ * LICENSE: GNU GPL v3
5
+ * FILE: resource.rc
6
+ * PURPOSE: Resource file
7
+ *
8
+ * Multi Theft Auto is available from http://www.multitheftauto.com/
9
+ *
10
+ *****************************************************************************/
11
+ #include "resource.h"
12
+
13
+ IDI_APPLICATION ICON "MTADiag.ico" // Icon with lowest ID value placed first to ensure application icon remains consistent on all systems.
14
+ IDR_SERVICING_SCRIPT TEXTFILE "servicing.bat"
You can’t perform that action at this time.
0 commit comments