• Main Page
  • Related Pages
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

OS_Utils.h

Go to the documentation of this file.
00001 /*  Copyright (c) MediaArea.net SARL. All Rights Reserved.
00002  *
00003  *  Use of this source code is governed by a zlib-style license that can
00004  *  be found in the License.txt file in the root of the source tree.
00005  */
00006 
00007 //---------------------------------------------------------------------------
00008 #ifndef ZenOS_UtilsH
00009 #define ZenOS_UtilsH
00010 //---------------------------------------------------------------------------
00011 
00012 //---------------------------------------------------------------------------
00013 #include "ZenLib/Ztring.h"
00014 #ifdef WINDOWS
00015 #ifndef ZENLIB_NO_WIN9X_SUPPORT
00016     #undef __TEXT
00017     #include "windows.h"
00018 #endif //ZENLIB_NO_WIN9X_SUPPORT
00019 #endif //WINDOWS
00020 //---------------------------------------------------------------------------
00021 
00022 namespace ZenLib
00023 {
00024 
00025 //***************************************************************************
00026 // OS Information
00027 //***************************************************************************
00028 
00029 //---------------------------------------------------------------------------
00030 bool IsWin9X ();
00031 #ifdef WINDOWS
00032 #ifndef ZENLIB_NO_WIN9X_SUPPORT
00033 inline bool IsWin9X_Fast ()
00034 {
00035     return GetVersion()>=0x80000000;
00036 }
00037 #endif //ZENLIB_NO_WIN9X_SUPPORT
00038 #endif //WINDOWS
00039 
00040 //***************************************************************************
00041 // Execute
00042 //***************************************************************************
00043 
00044 void Shell_Execute(const Ztring &ToExecute);
00045 
00046 //***************************************************************************
00047 // Directorues
00048 //***************************************************************************
00049 
00050 Ztring OpenFolder_Show(void* Handle, const Ztring &Title, const Ztring &Caption);
00051 
00052 } //namespace ZenLib
00053 #endif

Generated on Sun May 12 2013 18:05:10 for ZenLib by  doxygen 1.7.1