windowing/windowserver/SERVER/w32cmd.h
changeset 45 36b2e23a8629
parent 36 01a6848ebfd7
child 116 171fae344dd4
child 152 9f1c3fea0f87
equal deleted inserted replaced
36:01a6848ebfd7 45:36b2e23a8629
   976 	TInt tfxCmdDataLength;
   976 	TInt tfxCmdDataLength;
   977 	TInt windowHandle;
   977 	TInt windowHandle;
   978 	};
   978 	};
   979 struct TWsClCmdRegisterEffect
   979 struct TWsClCmdRegisterEffect
   980     {
   980     {
   981     inline TWsClCmdRegisterEffect(TInt aAction, TUint aAppUid, TInt aDirStrSize, TInt aPhase1StrSize, TInt aPhase2StrSize);
   981     inline TWsClCmdRegisterEffect(TInt aAction, TInt aPurpose, TInt aDirStrSize, TInt aPhase1StrSize, TInt aPhase2StrSize, TUint aAppUid, TBitFlags aFlags);
   982     TInt tfxAction;
   982     TInt tfxAction;
   983     TUint tfxAppUid;
   983     TInt tfxPurpose;
   984     TInt tfxDirStrSize;
   984     TInt tfxDirStrSize;
   985     TInt tfxPhase1StrSize;
   985     TInt tfxPhase1StrSize;
   986     TInt tfxPhase2StrSize;
   986     TInt tfxPhase2StrSize;
       
   987     TUint tfxAppUid;
       
   988     TBitFlags tfxFlags;
       
   989     };
       
   990 struct TWsClCmdUnRegisterEffect
       
   991     {
       
   992     inline TWsClCmdUnRegisterEffect(TInt aAction, TInt aPurpose, TUint aAppUid);
       
   993     TInt tfxAction;
       
   994     TInt tfxPurpose;
       
   995     TUint tfxAppUid;
   987     };
   996     };
   988 struct TWsClCmdOverrideEffect
   997 struct TWsClCmdOverrideEffect
   989     {
   998     {
   990     inline TWsClCmdOverrideEffect(TBool aOneShot, TInt aAction, TInt aDirStrSize, TInt aPhase1StrSize, TInt aPhase2StrSize);
   999     inline TWsClCmdOverrideEffect(TInt aAction, TInt aPurpose, TInt aDirStrSize, TInt aPhase1StrSize, TInt aPhase2StrSize, TBitFlags aFlags);
   991     TBool tfxOneShot;
       
   992     TInt tfxAction;
  1000     TInt tfxAction;
       
  1001     TInt tfxPurpose;
   993     TInt tfxDirStrSize;
  1002     TInt tfxDirStrSize;
   994     TInt tfxPhase1StrSize;
  1003     TInt tfxPhase1StrSize;
   995     TInt tfxPhase2StrSize;
  1004     TInt tfxPhase2StrSize;
       
  1005     TBitFlags tfxFlags;
   996     };
  1006     };
   997 typedef TRequestStatus *RqStatPtr;
  1007 typedef TRequestStatus *RqStatPtr;
   998 union TWsClCmdUnion
  1008 union TWsClCmdUnion
   999 	{
  1009 	{
  1000 	const TAny* any;
  1010 	const TAny* any;
  1045 	const TWsClCmdCreateScreenDevice* CreateScreenDevice;
  1055 	const TWsClCmdCreateScreenDevice* CreateScreenDevice;
  1046 	const TWsClCmdZThresholdPair* ZThresholdPair;
  1056 	const TWsClCmdZThresholdPair* ZThresholdPair;
  1047 	const TWsClCmdCreateDrawableSource* CreateDrawableSource;
  1057 	const TWsClCmdCreateDrawableSource* CreateDrawableSource;
  1048 	const TWsClCmdSendEffectCommand* SendEffectCommand;
  1058 	const TWsClCmdSendEffectCommand* SendEffectCommand;
  1049 	const TWsClCmdRegisterEffect* RegisterEffect;
  1059 	const TWsClCmdRegisterEffect* RegisterEffect;
       
  1060 	const TWsClCmdUnRegisterEffect* UnRegisterEffect; 
  1050 	const TWsClCmdOverrideEffect* OverrideEffect;
  1061 	const TWsClCmdOverrideEffect* OverrideEffect;
  1051 	};
  1062 	};
  1052 
  1063 
  1053 // Window command structures
  1064 // Window command structures
  1054 
  1065 
  2269 :	enterThreshold(aEnterThreshold),exitThreshold(aExitThreshold)
  2280 :	enterThreshold(aEnterThreshold),exitThreshold(aExitThreshold)
  2270 	{}
  2281 	{}
  2271 inline TWsClCmdSendEffectCommand::TWsClCmdSendEffectCommand(TInt aTfxCmd,TInt aTfxCmdDataLength, TInt aWinHandle) :
  2282 inline TWsClCmdSendEffectCommand::TWsClCmdSendEffectCommand(TInt aTfxCmd,TInt aTfxCmdDataLength, TInt aWinHandle) :
  2272     tfxCmd(aTfxCmd), tfxCmdDataLength(aTfxCmdDataLength), windowHandle(aWinHandle)
  2283     tfxCmd(aTfxCmd), tfxCmdDataLength(aTfxCmdDataLength), windowHandle(aWinHandle)
  2273 	{}
  2284 	{}
  2274 inline TWsClCmdRegisterEffect::TWsClCmdRegisterEffect(TInt aAction, TUint aAppUid, TInt aDirStrSize, TInt aPhase1StrSize, TInt aPhase2StrSize) :
  2285 inline TWsClCmdRegisterEffect::TWsClCmdRegisterEffect(TInt aAction, TInt aPurpose, TInt aDirStrSize, TInt aPhase1StrSize, TInt aPhase2StrSize, TUint aAppUid, TBitFlags aFlags) :
  2275 	tfxAction(aAction), tfxAppUid(aAppUid), tfxDirStrSize(aDirStrSize), tfxPhase1StrSize(aPhase1StrSize), tfxPhase2StrSize(aPhase2StrSize)
  2286 	tfxAction(aAction), tfxPurpose(aPurpose), tfxDirStrSize(aDirStrSize), tfxPhase1StrSize(aPhase1StrSize), tfxPhase2StrSize(aPhase2StrSize), tfxAppUid(aAppUid), tfxFlags(aFlags) 
  2276 	{}
  2287 	{}
  2277 inline TWsClCmdOverrideEffect::TWsClCmdOverrideEffect(TBool aOneShot, TInt aAction, TInt aDirStrSize, TInt aPhase1StrSize, TInt aPhase2StrSize) :
  2288 inline TWsClCmdUnRegisterEffect::TWsClCmdUnRegisterEffect(TInt aAction, TInt aPurpose, TUint aAppUid) :
  2278 	tfxOneShot(aOneShot), tfxAction(aAction), tfxDirStrSize(aDirStrSize), tfxPhase1StrSize(aPhase1StrSize), tfxPhase2StrSize(aPhase2StrSize)
  2289 	tfxAction(aAction), tfxPurpose(aPurpose), tfxAppUid(aAppUid)
       
  2290 	{}
       
  2291 inline TWsClCmdOverrideEffect::TWsClCmdOverrideEffect(TInt aAction, TInt aPurpose, TInt aDirStrSize, TInt aPhase1StrSize, TInt aPhase2StrSize, TBitFlags aFlags) :
       
  2292 	tfxAction(aAction), tfxPurpose(aPurpose), tfxDirStrSize(aDirStrSize), tfxPhase1StrSize(aPhase1StrSize), tfxPhase2StrSize(aPhase2StrSize), tfxFlags(aFlags)
  2279 	{}
  2293 	{}
  2280 inline TWsWinCmdAddKeyRect::TWsWinCmdAddKeyRect(const TRect &aRect,TInt aScanCode, TBool aActivatedByPointerSwitchOn) :
  2294 inline TWsWinCmdAddKeyRect::TWsWinCmdAddKeyRect(const TRect &aRect,TInt aScanCode, TBool aActivatedByPointerSwitchOn) :
  2281 	rect(aRect), scanCode(aScanCode), activatedByPointerSwitchOn(aActivatedByPointerSwitchOn)
  2295 	rect(aRect), scanCode(aScanCode), activatedByPointerSwitchOn(aActivatedByPointerSwitchOn)
  2282 	{}
  2296 	{}
  2283 #if defined(SYMBIAN_GRAPHICS_GCE)
  2297 #if defined(SYMBIAN_GRAPHICS_GCE)