AppEasy Core SDK  1.5.0
Cross platform mobile and desktop app and game development SDK - The easy way to make apps
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines
IzPlatformOther.h
Go to the documentation of this file.
00001 // 
00002 //
00003 // AppEasy SDK - Cross Platform Multi-purpose Game and App Engine
00004 //
00005 // Developed by Matthew Hopwood of Pocketeers Limited - www.pocketeers.co.uk
00006 //
00007 // For updates, tutorials and more details check out www.appeasymobile.com
00008 //
00009 // This code is provided free of charge and without any warranty whatsoever. You must ensure that this whole notice is present in all files and derivatives, so the reader knows its origin.
00010 // If you use this SDK in your product then please ensure that you credit AppEasy's usage appropriately. Please see www.appeasymobile.com for licensing details and support
00011 //
00012 //
00013 
00014 #if !defined(_CIZ_PLATFORM_OTHER_H_)
00015 #define _CIZ_PLATFORM_OTHER_H_
00016 
00017 #include "CzPlatform.h"
00018 
00019 #define PLATFORM_OTHER      PLATFORM->getOther()
00020 
00021 ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
00022 //
00023 // IzPlatformOther
00024 //
00025 ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
00026 class IzPlatformOther
00027 {
00028     // Properties
00029 protected:
00030     bool        Initialised;
00031 public:
00032     bool        isInitialised() const   { return Initialised; }
00033     // Properties end
00034 public:
00035     virtual int Init() = 0;
00036     virtual void Release() = 0;
00037 
00038     // Vibration
00039     virtual void VibrateStart(float priority, float duration) = 0;
00040     virtual void VibrateStop() = 0;
00041 
00042 
00043 
00044     // Marmalade dependencies - TODO: Remove dependency
00045     virtual void InitResManager() = 0;
00046     virtual void ReleaseResManager() = 0;
00047 };
00048 
00049 
00050 #endif  // _CIZ_PLATFORM_OTHER_H_