OCContextMenu.cpp
OCContextMenuFactory.cpp
OCContextMenuRegHandler.cpp
- stdafx.cpp
OCContextMenu.rc
OCContextMenu.def
)
* details.
*/
-#include "stdafx.h"
-
#include "OCClientInterface.h"
#include "CommunicationSocket.h"
* details.
*/
-#include "stdafx.h"
-
#include "OCContextMenu.h"
#include "OCClientInterface.h"
#include <shlwapi.h>
#include <shellapi.h>
#include <StringUtil.h>
+#include <strsafe.h>
extern long g_cDllRef;
* details.
*/
-#include "stdafx.h"
-
#include "OCContextMenuFactory.h"
#include "OCContextMenu.h"
#include <new>
* details.
*/
-#include "stdafx.h"
-
#include "OCContextMenuRegHandler.h"
#include "RegDelnode.h"
#include <strsafe.h>
#pragma once
-#include "stdafx.h"
+#include <windows.h>
class __declspec(dllexport) OCContextMenuRegHandler
{
* details.
*/
-#include "stdafx.h"
-
#include <windows.h>
#include <Guiddef.h>
#include "OCContextMenuRegHandler.h"
+++ /dev/null
-// stdafx.cpp : source file that includes just the standard includes
-// OCContextMenu.pch will be the pre-compiled header
-// stdafx.obj will contain the pre-compiled type information
-
-#include "stdafx.h"
-
-// TODO: reference any additional headers you need in STDAFX.H
-// and not in this file
+++ /dev/null
-// stdafx.h : include file for standard system include files,
-// or project specific include files that are used frequently, but
-// are changed infrequently
-//
-
-#pragma once
-
-#include "targetver.h"
-
-#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
-// Windows Header Files:
-#include <windows.h>
-#include <memory>
-#include <strsafe.h>
-
-
-// TODO: reference additional headers your program requires here
+++ /dev/null
-#pragma once
-
-// Including SDKDDKVer.h defines the highest available Windows platform.
-
-// If you wish to build your application for a previous Windows platform, include WinSDKVer.h and
-// set the _WIN32_WINNT macro to the platform you wish to support before including SDKDDKVer.h.
-
-// Note: Here was a #define for windows target version
-// e.g. WINVER / _WIN32_WINNT, see https://devblogs.microsoft.com/oldnewthing/20070411-00/?p=27283
-// Unnecessary because we define both in desktop/CMakeLists.txt
-
-#include <SDKDDKVer.h>
OCOverlay.cpp
OCOverlayFactory.cpp
OCOverlayRegistrationHandler.cpp
- stdafx.cpp
OCOverlay.rc
OCOverlays.def
)
* details.
*/
-#include "stdafx.h"
-
#include "OCOverlayRegistrationHandler.h"
#include "OCOverlayFactory.h"
+#include "OverlayConstants.h"
HINSTANCE instanceHandle = nullptr;
* details.
*/
-#include "stdafx.h"
-
#include "OCOverlay.h"
#include "OCOverlayFactory.h"
#include "UtilConstants.h"
#include "RemotePathChecker.h"
-#include "resource.h"
-
#include <algorithm>
#include <iostream>
#include <fstream>
#pragma once
+#include <shlobj.h>
+
class OCOverlay : public IShellIconOverlayIdentifier
{
* details.
*/
-#include "stdafx.h"
+#include <windows.h>
+#include <new>
#include "OCOverlayFactory.h"
#include "OCOverlay.h"
* details.
*/
-#include "stdafx.h"
-
#include "OCOverlayRegistrationHandler.h"
+#include "OverlayConstants.h"
+#include <windows.h>
#include <iostream>
#include <fstream>
#pragma once
+#include <windows.h>
+
class __declspec(dllexport) OCOverlayRegistrationHandler
{
public:
+++ /dev/null
-/**
- * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
- *
- * This library is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation; either version 2.1 of the License, or (at your option)
- * any later version.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
- * details.
- */
-
-#define OVERLAY_ID [$overlay.id$]
-#define OVERLAY_GUID L"[$overlay.guid$]"
-#define OVERLAY_NAME L"[$overlay.name$]"
-
-#define REGISTRY_OVERLAY_KEY L"SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\ShellIconOverlayIdentifiers"
-#define REGISTRY_CLSID L"CLSID"
-#define REGISTRY_IN_PROCESS L"InprocServer32"
-#define REGISTRY_THREADING L"ThreadingModel"
-#define REGISTRY_APARTMENT L"Apartment"
-#define REGISTRY_VERSION L"Version"
-#define REGISTRY_VERSION_NUMBER L"1.0"
-
-//Registry values for running
-#define REGISTRY_ENABLE_OVERLAY L"EnableOverlay"
-
-#define GET_FILE_OVERLAY_ID L"getFileIconId"
-
-#define PORT 33001
+++ /dev/null
-#include "stdafx.h"
+++ /dev/null
-/**
- * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
- *
- * This library is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the Free
- * Software Foundation; either version 2.1 of the License, or (at your option)
- * any later version.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
- * details.
- */
-
-#define WIN32_LEAN_AND_MEAN
-
-// Note: Here was a #define for windows target version
-// e.g. WINVER / _WIN32_WINNT, see https://devblogs.microsoft.com/oldnewthing/20070411-00/?p=27283
-// Unnecessary because we define both in desktop/CMakeLists.txt
-
-#include "CommunicationSocket.h"
-#include "RegistryUtil.h"
-#include "OverlayConstants.h"
-#include "FileUtil.h"
-
-#include <string>
-#include <new>
-#include <Guiddef.h>
-#include <windows.h>
-#include <Shlwapi.h>
-#include <shlobj.h>
-#include <unknwn.h>
-#include <vector>
-#include <strsafe.h>
FileUtil.cpp
RegistryUtil.cpp
RemotePathChecker.cpp
- stdafx.cpp
StringUtil.cpp
OCUtil.rc
)
* details.
*/
-#include "stdafx.h"
-
#include "CommunicationSocket.h"
#include "UtilConstants.h"
#include "StringUtil.h"
* details.
*/
-#include "stdafx.h"
-
#include "FileUtil.h"
#include "RegistryUtil.h"
#include "UtilConstants.h"
* details.
*/
-#include "stdafx.h"
+#include <windows.h>
#include "RegistryUtil.h"
* details.
*/
-#include "stdafx.h"
-
#include "CommunicationSocket.h"
#include "RemotePathChecker.h"
* details.
*/
-#include "stdafx.h"
-
#include <locale>
#include <string>
#include <codecvt>
#pragma once
+#include <windows.h>
#include <string>
#include <cassert>
+++ /dev/null
-#include "stdafx.h"
+++ /dev/null
-#pragma once
-
-#define WIN32_LEAN_AND_MEAN
-
-// Note: Here was a #define for windows target version
-// e.g. WINVER / _WIN32_WINNT, see https://devblogs.microsoft.com/oldnewthing/20070411-00/?p=27283
-// Unnecessary because we define both in desktop/CMakeLists.txt
-
-#include <windows.h>