File tree Expand file tree Collapse file tree 14 files changed +73
-4
lines changed Expand file tree Collapse file tree 14 files changed +73
-4
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,8 @@ set_cpp(WITH_RUNTIME WITH_EXCEPTIONS WITH_STL)
3
3
remove_definitions (-D_WIN32_WINNT=0x502 )
4
4
add_definitions (-D_WIN32_WINNT=0x603 )
5
5
6
+ include_directories (${REACTOS_SOURCE_DIR} /drivers/filesystems/btrfs )
7
+
6
8
spec2def (shellbtrfs.dll shellbtrfs.spec )
7
9
8
10
list (APPEND SOURCE
@@ -18,16 +20,19 @@ list(APPEND SOURCE
18
20
scrub.cpp
19
21
send.cpp
20
22
volpropsheet.cpp
21
- ${CMAKE_CURRENT_BINARY_DIR} /shellbtrfs.def )
23
+ precomp.h )
22
24
23
- include_directories (
24
- ${REACTOS_SOURCE_DIR} /drivers/filesystems/btrfs )
25
+ add_library (shellbtrfs SHARED
26
+ ${SOURCE}
27
+ guid.c
28
+ shellbtrfs.rc
29
+ ${CMAKE_CURRENT_BINARY_DIR} /shellbtrfs.def )
25
30
26
31
file (GLOB shellbtrfs_rc_deps *.ico )
27
32
add_rc_deps (shellbtrfs.rc ${shellbtrfs_rc_deps} )
28
33
29
- add_library (shellbtrfs SHARED ${SOURCE} shellbtrfs.rc )
30
34
set_module_type (shellbtrfs win32dll UNICODE )
31
35
target_link_libraries (shellbtrfs uuid )
32
36
add_importlibs (shellbtrfs advapi32 advapi32_vista ole32 shell32 shlwapi user32 comctl32 uxtheme setupapi comdlg32 gdi32 msvcrt kernel32_vista kernel32 ntdll )
37
+ add_pch (shellbtrfs precomp.h SOURCE )
33
38
add_cd_file (TARGET shellbtrfs DESTINATION reactos/system32 FOR all )
Original file line number Diff line number Diff line change 15
15
* You should have received a copy of the GNU Lesser General Public Licence
16
16
* along with WinBtrfs. If not, see <http://www.gnu.org/licenses/>. */
17
17
18
+ #pragma once
19
+
18
20
#include < windows.h>
19
21
#ifndef __REACTOS__
20
22
#include " ../btrfsioctl.h"
Original file line number Diff line number Diff line change 15
15
* You should have received a copy of the GNU Lesser General Public Licence
16
16
* along with WinBtrfs. If not, see <http://www.gnu.org/licenses/>. */
17
17
18
+ #pragma once
19
+
18
20
#include < shlobj.h>
19
21
20
22
extern LONG objs_loaded;
Original file line number Diff line number Diff line change 15
15
* You should have received a copy of the GNU Lesser General Public Licence
16
16
* along with WinBtrfs. If not, see <http://www.gnu.org/licenses/>. */
17
17
18
+ #pragma once
19
+
18
20
#ifndef __REACTOS__
19
21
#include < windows.h>
20
22
#include < winternl.h>
Original file line number Diff line number Diff line change 15
15
* You should have received a copy of the GNU Lesser General Public Licence
16
16
* along with WinBtrfs. If not, see <http://www.gnu.org/licenses/>. */
17
17
18
+ #pragma once
19
+
18
20
extern LONG objs_loaded;
19
21
20
22
typedef enum {
Original file line number Diff line number Diff line change
1
+ /* DO NOT USE THE PRECOMPILED HEADER FOR THIS FILE! */
2
+
3
+ #define WIN32_NO_STATuS
4
+ #define _INC_WINDOWS
5
+ #define COM_NO_WINDOWS_H
6
+
7
+ #include <windef.h>
8
+ #include <winbase.h>
9
+ #include <initguid.h>
10
+ #define DEVICE_TYPE ULONG
11
+ #include <ntddstor.h>
12
+
13
+ /* NO CODE HERE, THIS IS JUST REQUIRED FOR THE GUID DEFINITIONS */
Original file line number Diff line number Diff line change 15
15
* You should have received a copy of the GNU Lesser General Public Licence
16
16
* along with WinBtrfs. If not, see <http://www.gnu.org/licenses/>. */
17
17
18
+ #pragma once
19
+
18
20
#include < shlobj.h>
19
21
20
22
extern LONG objs_loaded;
Original file line number Diff line number Diff line change
1
+ #ifndef _SHELLBTRFS_PRECOMP_H_
2
+ #define _SHELLBTRFS_PRECOMP_H_
3
+
4
+ #include < stddef.h>
5
+ #include < stdio.h>
6
+ #include < string>
7
+ #include < sys/stat.h>
8
+ #define WIN32_NO_STATUS
9
+ #include < windows.h>
10
+ #define STRSAFE_NO_DEPRECATE
11
+ #include < strsafe.h>
12
+ #define NO_SHLWAPI_STRFCNS
13
+ #include < shlwapi.h>
14
+ #include < ntddstor.h>
15
+ #include < ndk/iofuncs.h>
16
+ #include < ndk/rtlfuncs.h>
17
+ #include < shlobj.h>
18
+ #include < shellext.h>
19
+ #include < btrfsioctl.h>
20
+ #include < uxtheme.h>
21
+
22
+ #include " contextmenu.h"
23
+ #include " factory.h"
24
+ #include " iconoverlay.h"
25
+ #include " propsheet.h"
26
+ #include " resource.h"
27
+ #include " volpropsheet.h"
28
+
29
+ #endif /* _SHELLBTRFS_PRECOMP_H_ */
Original file line number Diff line number Diff line change 15
15
* You should have received a copy of the GNU Lesser General Public Licence
16
16
* along with WinBtrfs. If not, see <http://www.gnu.org/licenses/>. */
17
17
18
+ #pragma once
19
+
18
20
#include < shlobj.h>
19
21
#include < deque>
20
22
#include < string>
Original file line number Diff line number Diff line change 15
15
* You should have received a copy of the GNU Lesser General Public Licence
16
16
* along with WinBtrfs. If not, see <http://www.gnu.org/licenses/>. */
17
17
18
+ #pragma once
19
+
18
20
#include < shlobj.h>
19
21
#include < string>
20
22
#include < vector>
Original file line number Diff line number Diff line change 15
15
* You should have received a copy of the GNU Lesser General Public Licence
16
16
* along with WinBtrfs. If not, see <http://www.gnu.org/licenses/>. */
17
17
18
+ #pragma once
19
+
18
20
#include < windows.h>
19
21
#ifndef __REACTOS__
20
22
#include " ../btrfs.h"
Original file line number Diff line number Diff line change 15
15
* You should have received a copy of the GNU Lesser General Public Licence
16
16
* along with WinBtrfs. If not, see <http://www.gnu.org/licenses/>. */
17
17
18
+ #pragma once
19
+
18
20
#ifdef __REACTOS__
19
21
#include " btrfs.h"
20
22
#include < stdlib.h>
Original file line number Diff line number Diff line change 15
15
* You should have received a copy of the GNU Lesser General Public Licence
16
16
* along with WinBtrfs. If not, see <http://www.gnu.org/licenses/>. */
17
17
18
+ #pragma once
19
+
18
20
#define ISOLATION_AWARE_ENABLED 1
19
21
#define STRSAFE_NO_DEPRECATE
20
22
Original file line number Diff line number Diff line change 15
15
* You should have received a copy of the GNU Lesser General Public Licence
16
16
* along with WinBtrfs. If not, see <http://www.gnu.org/licenses/>. */
17
17
18
+ #pragma once
19
+
18
20
#include < shlobj.h>
19
21
#ifndef __REACTOS__
20
22
#include " ../btrfsioctl.h"
You can’t perform that action at this time.
0 commit comments