app_resources.h 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. /*=========================================================================
  2. Program: WXDialog - wxWidgets X-platform GUI Front-End for CMake
  3. Module: $RCSfile$
  4. Language: C++
  5. Date: $Date$
  6. Version: $Revision$
  7. Author: Jorgen Bodde
  8. Copyright (c) 2002 Kitware, Inc., Insight Consortium. All rights reserved.
  9. See Copyright.txt or http://www.cmake.org/HTML/Copyright.html for details.
  10. This software is distributed WITHOUT ANY WARRANTY; without even
  11. the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
  12. PURPOSE. See the above copyright notices for more information.
  13. =========================================================================*/
  14. #ifndef _APP_RESOURCES_H_
  15. #define _APP_RESOURCES_H_
  16. #if defined(__GNUG__) && !defined(__APPLE__)
  17. #pragma interface "app_resources.cpp"
  18. #endif
  19. /*!
  20. * Control identifiers
  21. */
  22. ////@begin control identifiers
  23. #define ID_CACHE_IGNORE 10051
  24. #define ID_CACHE_DELETE 10052
  25. #define ID_CACHE_BROWSE 10053
  26. ////@end control identifiers
  27. class AppResources
  28. {
  29. public:
  30. AppResources() {}
  31. /*!
  32. * Resource functions
  33. */
  34. ////@begin AppResources resource functions
  35. /// Menu creation function for ID_MENU
  36. static wxMenu* CreatePopupMenu();
  37. /// Retrieves bitmap resources
  38. static wxBitmap GetBitmapResource( const wxString& name );
  39. /// Retrieves icon resources
  40. static wxIcon GetIconResource( const wxString& name );
  41. ////@end AppResources resource functions
  42. };
  43. #endif
  44. // _APP_RESOURCES_H_