Added:
/trunk/src/lib/window/MCruxWin32Window.cpp
/trunk/src/lib/window/MCruxWin32Window.h
Modified:
/trunk/src/lib/MCrux.cpp
/trunk/src/lib/abstract/MCruxWindow.cpp
/trunk/src/lib/abstract/MCruxWindow.h
/trunk/src/lib/plugin/MCruxPluginManager.cpp
/trunk/src/lib/window/MCruxWindowManager.cpp
/trunk/src/lib/window/MCruxWindowManager.h
/trunk/win32/lib/MCrux.vcproj
=======================================
--- /dev/null
+++ /trunk/src/lib/window/MCruxWin32Window.cpp Sun Nov 1 04:45:19 2009
@@ -0,0 +1,216 @@
+/**
+ * copyright (C) 2009 Mital Vora. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ * 3. Neither the name of MCrux nor the names of its contributors may be
+ * used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * @author: Mital Vora.
+ **/
+#include "Resource.h"
+#include <tchar.h>
+
+#include "MCruxWin32Window.h"
+
+map<HWND, MCruxWin32Window *> MCruxWin32Window::mcruxWindows;
+map<IWebView *, MCruxWin32Window *>
MCruxWin32Window::mcruxWindowsFromViews;
+
+
+MCruxWin32Window::MCruxWin32Window(const MCruxWindowConfiguration *
_config,
+ MCruxPluginManager * pluginManager,
+ MCruxWindowManager * windowManager)
+ : MCruxWindow(_config),
+ hInstance(GetModuleHandle(NULL)),
+ hWnd(NULL),
+ webView(),
+ webUIDelegate(),
+ webFrameLoadDelegate(),
+ delegatesHandler()
+{
+ hWnd = CreateWindow(MCruxWin32Window::getWindowClassName(),
+ config->getWindowTitle().c_str(),
+ WS_OVERLAPPEDWINDOW,
+ CW_USEDEFAULT, 0, config->getWidth(), config->getHeight(), NULL, NULL,
hInstance, NULL);
+
+ if (!webView.createWebView())
+ {
+ ::MessageBoxA(0, "createWebView Failed", "error", MB_OK);
+ return;
+ }
+
+ if(!webView.setWebUIDelegate(&webUIDelegate))
+ {
+ ::MessageBoxA(0, "setWebUIDelegate Failed", "error", MB_OK);
+ return;
+ }
+ webUIDelegate.setUIHandler(&delegatesHandler);
+
+ if(!webView.setFrameLoadDelegate(&webFrameLoadDelegate))
+ {
+ ::MessageBoxA(0, "setFrameLoadDelegate Failed", "error", MB_OK);
+ return;
+ }
+ webFrameLoadDelegate.setFrameLoadHandler(&delegatesHandler);
+
+ delegatesHandler.setPluginManager(pluginManager);
+ delegatesHandler.setWindowManager(windowManager);
+
+ IWebURLRequest * request = config->getRequest();
+ if(request)
+ {
+ if(!webView.loadURLRequestInWindow(hWnd, request))
+ {
+ ::MessageBoxA(0, "loadURLRequestInWindow Failed", "error", MB_OK);
+ return;
+ }
+ }
+ else
+ {
+ if (!webView.loadURLInWindow(hWnd, config->getURL()))
+ {
+ ::MessageBoxA(0, "Loadpageinwindow Failed", "error", MB_OK);
+ return;
+ }
+ }
+ MCruxWin32Window::mcruxWindows[hWnd] = this;
+ MCruxWin32Window::mcruxWindowsFromViews[webView.getWebView()] = this;
+}
+
+
+MCruxWin32Window::~MCruxWin32Window()
+{
+ if(MCruxWin32Window::mcruxWindows[hWnd])
+ {
+
MCruxWin32Window::mcruxWindows.erase(MCruxWin32Window::mcruxWindows.find(hWnd));
+ }
+ delete config;
+}
+
+int MCruxWin32Window::ShowWindow() const
+{
+ return ::ShowWindow(hWnd, SW_SHOW);
+}
+
+
+int MCruxWin32Window::HideWindow() const
+{
+ return ::ShowWindow(hWnd, SW_HIDE);
+}
+
+
+int MCruxWin32Window::UpdateWindow() const
+{
+ return ::UpdateWindow(hWnd);
+}
+
+
+void MCruxWin32Window::resize() const
+{
+ webView.resizeSubView();
+}
+
+
+TCHAR * MCruxWin32Window::getWindowClassName()
+{
+ static TCHAR windowClassName[MAX_LOADSTRING] = _T("MCruxWindowClass");
+ return windowClassName;
+}
+
+
+void MCruxWin32Window::initWindowClass(HINSTANCE hInstance)
+{
+ static bool bInit = false;
+ if (!bInit)
+ {
+ WNDCLASSEX wcex;
+
+ wcex.cbSize = sizeof(WNDCLASSEX);
+
+ wcex.style = CS_HREDRAW | CS_VREDRAW;
+ wcex.lpfnWndProc = MCruxWin32Window::WndProc;
+ wcex.cbClsExtra = 0;
+ wcex.cbWndExtra = 0;
+ wcex.hInstance = hInstance;
+ wcex.hIcon = LoadIcon(hInstance, MAKEINTRESOURCE(IDI_MCRUX_ICON));
+ wcex.hCursor = LoadCursor(NULL, IDC_ARROW);
+ wcex.hbrBackground = (HBRUSH)(COLOR_WINDOW+1);
+ wcex.lpszMenuName = 0;
+ wcex.lpszClassName = MCruxWin32Window::getWindowClassName();
+ wcex.hIconSm = LoadIcon(wcex.hInstance, MAKEINTRESOURCE(IDI_SMALL));
+
+ RegisterClassEx(&wcex);
+
+ bInit = true;
+ }
+}
+
+
+void MCruxWin32Window::unInitWindowClass(HINSTANCE hInstance)
+{
+ UnregisterClass(MCruxWin32Window::getWindowClassName(), hInstance);
+}
+
+
+LRESULT CALLBACK MCruxWin32Window::WndProc(HWND hWnd, UINT message, WPARAM
wParam, LPARAM lParam)
+{
+ int wmId, wmEvent;
+ PAINTSTRUCT ps;
+ HDC hdc;
+
+ switch (message)
+ {
+ case WM_COMMAND:
+ wmId = LOWORD(wParam);
+ wmEvent = HIWORD(wParam);
+ // Parse the menu selections:
+ //switch (wmId)
+ //{
+ //case IDM_ABOUT:
+ // DialogBox(hInst, MAKEINTRESOURCE(IDD_ABOUTBOX), hWnd, About);
+ // break;
+ //case IDM_EXIT:
+ // DestroyWindow(hWnd);
+ // break;
+ //default:
+ return DefWindowProc(hWnd, message, wParam, lParam);
+ //}
+ break;
+ case WM_PAINT:
+ hdc = BeginPaint(hWnd, &ps);
+ // TODO: Add any drawing code here...
+ EndPaint(hWnd, &ps);
+ break;
+ case WM_DESTROY:
+ PostQuitMessage(0);
+ break;
+ case WM_SIZE:
+ if(MCruxWin32Window::mcruxWindows[hWnd])
+ {
+ MCruxWin32Window::mcruxWindows[hWnd]->resize();
+ }
+ break;
+ default:
+ return DefWindowProc(hWnd, message, wParam, lParam);
+ }
+ return 0;
+}
+
+MCruxWebView * MCruxWin32Window::getMCruxWebView()
+{
+ return &webView;
+}
+
+
+MCruxWin32Window * MCruxWin32Window::getMCruxWindowFrom(IWebView * webView)
+{
+ return MCruxWin32Window::mcruxWindowsFromViews[webView];
+}
=======================================
--- /dev/null
+++ /trunk/src/lib/window/MCruxWin32Window.h Sun Nov 1 04:45:19 2009
@@ -0,0 +1,75 @@
+/**
+ * copyright (C) 2009 Mital Vora. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ * 3. Neither the name of MCrux nor the names of its contributors may be
+ * used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * @author: Mital Vora.
+ **/
+
+#ifndef _MCRUXWIN32WINDOW_H_
+#define _MCRUXWIN32WINDOW_H_
+
+#include <abstract/MCruxWindow.h>
+#include <window/MCruxWindowConfiguration.h>
+
+#include "MCruxWebView.h"
+#include "plugin/MCruxPluginManager.h"
+#include "delegates/MCruxDelegatesHandler.h"
+#include "delegates/MCruxWebUIDelegate.h"
+#include "delegates/MCruxWebFrameLoadDelegate.h"
+
+class MCruxWindowManager;
+
+class MCruxWin32Window : public MCruxWindow
+{
+private:
+ HINSTANCE hInstance;
+ HWND hWnd;
+
+ // webView
+ MCruxWebView webView;
+
+ // delegates
+ MCruxWebUIDelegate webUIDelegate;
+ MCruxWebFrameLoadDelegate webFrameLoadDelegate;
+ MCruxDelegatesHandler delegatesHandler;
+
+public:
+
+ MCruxWin32Window(const MCruxWindowConfiguration * _config,
+ MCruxPluginManager * pluginManager,
+ MCruxWindowManager * windowManager);
+ ~MCruxWin32Window();
+
+ virtual int ShowWindow() const;
+ virtual int HideWindow() const;
+ virtual int UpdateWindow() const;
+ virtual void resize() const;
+
+ MCruxWebView * getMCruxWebView();
+ static void initWindowClass(HINSTANCE hInstance);
+ static void unInitWindowClass(HINSTANCE hInstance);
+ static MCruxWin32Window * getMCruxWindowFrom(IWebView * webView);
+
+private:
+
+ static TCHAR * getWindowClassName();
+ static LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam,
LPARAM lParam);
+
+ static map<HWND, MCruxWin32Window *> mcruxWindows;
+ static map<IWebView *, MCruxWin32Window *> mcruxWindowsFromViews;
+
+};
+
+#endif // _MCRUXWIN32WINDOW_H_
=======================================
--- /trunk/src/lib/MCrux.cpp Sun Nov 1 00:06:50 2009
+++ /trunk/src/lib/MCrux.cpp Sun Nov 1 04:45:19 2009
@@ -21,6 +21,7 @@
//
#include <mcrux/MCrux.h>
#include "MCruxSpecParser.h"
+#include <window/MCruxWindowManager.h>
#ifdef WIN32
#include "../win32/stdafx.h"
@@ -29,7 +30,7 @@
#include <shlwapi.h>
#include <wininet.h>
-#include "window/MCruxWindowManager.h"
+#include "window/MCruxWin32Window.h"
#ifdef _MANAGED
#pragma managed(push, off)
@@ -77,7 +78,7 @@
InitCtrlEx.dwICC = 0x00004000; //ICC_STANDARD_CLASSES;
InitCommonControlsEx(&InitCtrlEx);
- MCruxWindow::initWindowClass(GetModuleHandle(NULL));
+ MCruxWin32Window::initWindowClass(GetModuleHandle(NULL));
// Init COM
OleInitialize(NULL);
@@ -89,7 +90,7 @@
#ifdef WIN32
// Shut down COM.
OleUninitialize();
- MCruxWindow::unInitWindowClass(GetModuleHandle(NULL));
+ MCruxWin32Window::unInitWindowClass(GetModuleHandle(NULL));
#endif
}
=======================================
--- /trunk/src/lib/abstract/MCruxWindow.cpp Sun Nov 1 03:50:40 2009
+++ /trunk/src/lib/abstract/MCruxWindow.cpp Sun Nov 1 04:45:19 2009
@@ -16,201 +16,15 @@
*
* @author: Mital Vora.
**/
-#include "Resource.h"
-#include <tchar.h>
-
#include "MCruxWindow.h"
-map<HWND, MCruxWindow *> MCruxWindow::mcruxWindows;
-map<IWebView *, MCruxWindow *> MCruxWindow::mcruxWindowsFromViews;
-
-
-MCruxWindow::MCruxWindow(const MCruxWindowConfiguration * _config,
- MCruxPluginManager * pluginManager,
- MCruxWindowManager * windowManager)
- : hInstance(GetModuleHandle(NULL)),
- hWnd(NULL),
- config(_config),
- webView(),
- webUIDelegate(),
- webFrameLoadDelegate(),
- delegatesHandler()
-{
- hWnd = CreateWindow(MCruxWindow::getWindowClassName(),
- config->getWindowTitle().c_str(),
- WS_OVERLAPPEDWINDOW,
- CW_USEDEFAULT, 0, config->getWidth(), config->getHeight(), NULL, NULL,
hInstance, NULL);
-
- if (!webView.createWebView())
- {
- ::MessageBoxA(0, "createWebView Failed", "error", MB_OK);
- return;
- }
-
- if(!webView.setWebUIDelegate(&webUIDelegate))
- {
- ::MessageBoxA(0, "setWebUIDelegate Failed", "error", MB_OK);
- return;
- }
- webUIDelegate.setUIHandler(&delegatesHandler);
-
- if(!webView.setFrameLoadDelegate(&webFrameLoadDelegate))
- {
- ::MessageBoxA(0, "setFrameLoadDelegate Failed", "error", MB_OK);
- return;
- }
- webFrameLoadDelegate.setFrameLoadHandler(&delegatesHandler);
-
- delegatesHandler.setPluginManager(pluginManager);
- delegatesHandler.setWindowManager(windowManager);
-
- IWebURLRequest * request = config->getRequest();
- if(request)
- {
- if(!webView.loadURLRequestInWindow(hWnd, request))
- {
- ::MessageBoxA(0, "loadURLRequestInWindow Failed", "error", MB_OK);
- return;
- }
- }
- else
- {
- if (!webView.loadURLInWindow(hWnd, config->getURL()))
- {
- ::MessageBoxA(0, "Loadpageinwindow Failed", "error", MB_OK);
- return;
- }
- }
- MCruxWindow::mcruxWindows[hWnd] = this;
- MCruxWindow::mcruxWindowsFromViews[webView.getWebView()] = this;
+MCruxWindow::MCruxWindow(const MCruxWindowConfiguration * _config)
+ : config(_config)
+{
}
MCruxWindow::~MCruxWindow()
{
- if(MCruxWindow::mcruxWindows[hWnd])
- {
- MCruxWindow::mcruxWindows.erase(MCruxWindow::mcruxWindows.find(hWnd));
- }
delete config;
}
-
-int MCruxWindow::ShowWindow() const
-{
- return ::ShowWindow(hWnd, SW_SHOW);
-}
-
-
-int MCruxWindow::HideWindow() const
-{
- return ::ShowWindow(hWnd, SW_HIDE);
-}
-
-
-int MCruxWindow::UpdateWindow() const
-{
- return ::UpdateWindow(hWnd);
-}
-
-
-void MCruxWindow::resize() const
-{
- webView.resizeSubView();
-}
-
-
-TCHAR * MCruxWindow::getWindowClassName()
-{
- static TCHAR windowClassName[MAX_LOADSTRING] = _T("MCruxWindowClass");
- return windowClassName;
-}
-
-
-void MCruxWindow::initWindowClass(HINSTANCE hInstance)
-{
- static bool bInit = false;
- if (!bInit)
- {
- WNDCLASSEX wcex;
-
- wcex.cbSize = sizeof(WNDCLASSEX);
-
- wcex.style = CS_HREDRAW | CS_VREDRAW;
- wcex.lpfnWndProc = MCruxWindow::WndProc;
- wcex.cbClsExtra = 0;
- wcex.cbWndExtra = 0;
- wcex.hInstance = hInstance;
- wcex.hIcon = LoadIcon(hInstance, MAKEINTRESOURCE(IDI_MCRUX_ICON));
- wcex.hCursor = LoadCursor(NULL, IDC_ARROW);
- wcex.hbrBackground = (HBRUSH)(COLOR_WINDOW+1);
- wcex.lpszMenuName = 0;
- wcex.lpszClassName = MCruxWindow::getWindowClassName();
- wcex.hIconSm = LoadIcon(wcex.hInstance, MAKEINTRESOURCE(IDI_SMALL));
-
- RegisterClassEx(&wcex);
-
- bInit = true;
- }
-}
-
-
-void MCruxWindow::unInitWindowClass(HINSTANCE hInstance)
-{
- UnregisterClass(MCruxWindow::getWindowClassName(), hInstance);
-}
-
-
-LRESULT CALLBACK MCruxWindow::WndProc(HWND hWnd, UINT message, WPARAM
wParam, LPARAM lParam)
-{
- int wmId, wmEvent;
- PAINTSTRUCT ps;
- HDC hdc;
-
- switch (message)
- {
- case WM_COMMAND:
- wmId = LOWORD(wParam);
- wmEvent = HIWORD(wParam);
- // Parse the menu selections:
- //switch (wmId)
- //{
- //case IDM_ABOUT:
- // DialogBox(hInst, MAKEINTRESOURCE(IDD_ABOUTBOX), hWnd, About);
- // break;
- //case IDM_EXIT:
- // DestroyWindow(hWnd);
- // break;
- //default:
- return DefWindowProc(hWnd, message, wParam, lParam);
- //}
- break;
- case WM_PAINT:
- hdc = BeginPaint(hWnd, &ps);
- // TODO: Add any drawing code here...
- EndPaint(hWnd, &ps);
- break;
- case WM_DESTROY:
- PostQuitMessage(0);
- break;
- case WM_SIZE:
- if(MCruxWindow::mcruxWindows[hWnd])
- {
- MCruxWindow::mcruxWindows[hWnd]->resize();
- }
- break;
- default:
- return DefWindowProc(hWnd, message, wParam, lParam);
- }
- return 0;
-}
-
-MCruxWebView * MCruxWindow::getMCruxWebView()
-{
- return &webView;
-}
-
-
-MCruxWindow * MCruxWindow::getMCruxWindowFrom(IWebView * webView)
-{
- return MCruxWindow::mcruxWindowsFromViews[webView];
-}
=======================================
--- /trunk/src/lib/abstract/MCruxWindow.h Sun Nov 1 03:50:40 2009
+++ /trunk/src/lib/abstract/MCruxWindow.h Sun Nov 1 04:45:19 2009
@@ -26,51 +26,20 @@
using namespace std;
#include <window/MCruxWindowConfiguration.h>
-#include "MCruxWebView.h"
-
-#include "plugin/MCruxPluginManager.h"
-
-#include "delegates/MCruxDelegatesHandler.h"
-#include "delegates/MCruxWebUIDelegate.h"
-#include "delegates/MCruxWebFrameLoadDelegate.h"
-
-class MCruxWindowManager;
class MCruxWindow
{
- HINSTANCE hInstance;
- HWND hWnd;
+protected:
const MCruxWindowConfiguration * config;
- // webView
- MCruxWebView webView;
-
- // delegates
- MCruxWebUIDelegate webUIDelegate;
- MCruxWebFrameLoadDelegate webFrameLoadDelegate;
- MCruxDelegatesHandler delegatesHandler;
-
- static TCHAR * getWindowClassName();
- static LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam,
LPARAM lParam);
-
- static map<HWND, MCruxWindow *> mcruxWindows;
- static map<IWebView *, MCruxWindow *> mcruxWindowsFromViews;
-
public:
- MCruxWindow(const MCruxWindowConfiguration * _config,
- MCruxPluginManager * pluginManager,
- MCruxWindowManager * windowManager);
- ~MCruxWindow();
-
- int ShowWindow() const;
- int HideWindow() const;
- int UpdateWindow() const;
- void resize() const;
- MCruxWebView * getMCruxWebView();
-
- static void initWindowClass(HINSTANCE hInstance);
- static void unInitWindowClass(HINSTANCE hInstance);
- static MCruxWindow * getMCruxWindowFrom(IWebView * webView);
+ MCruxWindow(const MCruxWindowConfiguration * _config);
+ virtual ~MCruxWindow();
+
+ virtual int ShowWindow() const=0;
+ virtual int HideWindow() const=0;
+ virtual int UpdateWindow() const=0;
+ virtual void resize() const=0;
};
#endif // _MCRUXWINDOW_H_
=======================================
--- /trunk/src/lib/plugin/MCruxPluginManager.cpp Sun Nov 1 03:50:40 2009
+++ /trunk/src/lib/plugin/MCruxPluginManager.cpp Sun Nov 1 04:45:19 2009
@@ -19,6 +19,7 @@
#include "abstract/MCruxWindow.h"
#include "MCruxJSObject.h"
+#include "MCruxPluginManager.h"
#include <jscore/MJSCoreObject.h>
#include <jscore/MJSCoreObjectFactory.h>
=======================================
--- /trunk/src/lib/window/MCruxWindowManager.cpp Sun Nov 1 03:39:34 2009
+++ /trunk/src/lib/window/MCruxWindowManager.cpp Sun Nov 1 04:45:19 2009
@@ -17,7 +17,7 @@
* @author: Mital Vora.
**/
#include "MCruxWindowManager.h"
-
+#include <window/MCruxWin32Window.h>
MCruxWindowManager::MCruxWindowManager(const
list<MCruxWindowConfiguration*> & _windowConfigurations
#ifdef WIN32
@@ -36,14 +36,12 @@
{
MCruxWindowConfiguration * mainWindowConfig = *oIter;
#ifdef WIN32
- MCruxWindow * newWindow = new MCruxWindow(mainWindowConfig,
-#ifdef WIN32
- pluginManager,
-#endif
- this);
+ MCruxWindow * newWindow = new MCruxWin32Window(mainWindowConfig,
pluginManager, this);
newWindow->ShowWindow();
newWindow->UpdateWindow();
windows.push_back(newWindow);
+#else
+ //MCruxWindow * newWindow =
#endif
}
}
@@ -59,10 +57,10 @@
IWebView * MCruxWindowManager::createWindow(IWebURLRequest *request)
{
MCruxWindowConfiguration * mainWindowConfig = new
MCruxWindowConfiguration(L"title", 200, 200, request);
- MCruxWindow * newWindow = new MCruxWindow(mainWindowConfig,
pluginManager, this);
+ MCruxWindow * newWindow = new MCruxWin32Window(mainWindowConfig,
pluginManager, this);
//newWindow->ShowWindow();
//newWindow->UpdateWindow();
windows.push_back(newWindow);
- return newWindow->getMCruxWebView()->getWebView();
+ return ((MCruxWin32Window*)(newWindow))->getMCruxWebView()->getWebView();
}
#endif
=======================================
--- /trunk/src/lib/window/MCruxWindowManager.h Sun Nov 1 03:50:40 2009
+++ /trunk/src/lib/window/MCruxWindowManager.h Sun Nov 1 04:45:19 2009
@@ -21,11 +21,8 @@
#define _MCRUXWINDOWMANAGER_H_
#include <list>
-#ifdef WIN32
-#include "abstract/MCruxWindow.h"
-#endif
-#include "window/MCruxWindowConfiguration.h"
-
+#include <abstract/MCruxWindow.h>
+#include <plugin/MCruxPluginManager.h>
class MCruxWindowManager
{
@@ -33,10 +30,8 @@
#ifdef WIN32
MCruxPluginManager * pluginManager;
#endif
-
-#ifdef WIN32
list<MCruxWindow *> windows;
-#endif
+
public:
MCruxWindowManager(const list<MCruxWindowConfiguration*> &
_windowConfigurations
=======================================
--- /trunk/win32/lib/MCrux.vcproj Sun Nov 1 03:20:25 2009
+++ /trunk/win32/lib/MCrux.vcproj Sun Nov 1 04:45:19 2009
@@ -322,7 +322,7 @@
Name="Header Files"
>
<File
- RelativePath="..\..\src\lib\window\MCruxWindow.h"
+ RelativePath="..\..\src\lib\window\MCruxWin32Window.h"
>
</File>
<File
@@ -338,7 +338,7 @@
Name="Source Files"
>
<File
- RelativePath="..\..\src\lib\window\MCruxWindow.cpp"
+ RelativePath="..\..\src\lib\window\MCruxWin32Window.cpp"
>
</File>
<File
@@ -360,6 +360,10 @@
<File
RelativePath="..\..\src\include\mcrux\abstract\callback.h"
>
+ </File>
+ <File
+ RelativePath="..\..\src\lib\abstract\MCruxWindow.h"
+ >
</File>
<File
RelativePath="..\..\src\include\mcrux\abstract\MObject.h"
@@ -377,6 +381,10 @@
<Filter
Name="Source files"
>
+ <File
+ RelativePath="..\..\src\lib\abstract\MCruxWindow.cpp"
+ >
+ </File>
<File
RelativePath="..\..\src\lib\abstract\MObject.cpp"
>