Panda3D

graphicsWindowProc.h

00001 // Filename: graphicswindowProc.h
00002 // Created by:  Bei Yang (Mar 2010)
00003 //
00004 ////////////////////////////////////////////////////////////////////
00005 //
00006 // PANDA 3D SOFTWARE
00007 // Copyright (c) Carnegie Mellon University.  All rights reserved.
00008 //
00009 // All use of this software is subject to the terms of the revised BSD
00010 // license.  You should have received a copy of this license along
00011 // with this source code in a file named "LICENSE."
00012 //
00013 ////////////////////////////////////////////////////////////////////
00014 
00015 
00016 #ifndef GRAPHICSWINDOWPROC_H
00017 #define GRAPHICSWINDOWPROC_H
00018 
00019 #include "pandabase.h"
00020 
00021 #ifdef WIN32
00022 #ifndef WIN32_LEAN_AND_MEAN
00023 #define WIN32_LEAN_AND_MEAN 1
00024 #endif
00025 #include <windows.h>
00026 #endif
00027 
00028 ////////////////////////////////////////////////////////////////////
00029 //       Class : GraphicsWindowProc
00030 // Description : Defines an interface for storing platform-specific
00031 //               window processor methods.
00032 ////////////////////////////////////////////////////////////////////
00033 class GraphicsWindowProc{
00034 public:
00035   GraphicsWindowProc();
00036 #if defined(__WIN32__) || defined(_WIN32)
00037   virtual LONG wnd_proc(GraphicsWindow* graphicsWindow, HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam);
00038 #endif
00039   //purely virtual class
00040 };
00041 
00042 #endif //GRAPHICSWINDOWPROC_H
 All Classes Functions Variables Enumerations