gport2.h

Go to the documentation of this file.
00001 /**********************************************************************
00002  *<
00003     FILE: gport2.h
00004 
00005     DESCRIPTION: Enhancement of gport
00006 
00007     CREATED BY: Chloe Mignot
00008 
00009     HISTORY:
00010 
00011  *> Copyright (c) 2005, All Rights Reserved.
00012  **********************************************************************/
00013 
00014 #pragma once
00015 
00016 #include "gport.h"
00017 #include "buildver.h"
00018 
00020 
00025 class GPort2 : public GPort
00026 {
00027 public:
00028 
00030     GPort2(){mIsColorCorrected = FALSE;}
00031 
00034     BOOL getColorCorrectedState(){
00035 #ifndef NO_LUT_INTEGRATION
00036         return mIsColorCorrected;
00037 #else //NO_LUT_INTEGRATION
00038         return TRUE;
00039 #endif
00040     }
00041 
00045     void setColorCorrectedState(BOOL isCorrected){
00046 #ifndef NO_LUT_INTEGRATION
00047         mIsColorCorrected = isCorrected;
00048 #else //NO_LUT_INTEGRATION
00049         mIsColorCorrected = TRUE;
00050 #endif
00051     }
00052 
00053 private:
00055     BOOL mIsColorCorrected;
00056 };
00057 
00058 extern CoreExport GPort2* GetGPort2();
00059