first commit
This commit is contained in:
30
include/platform/analytics/analytics.h
Normal file
30
include/platform/analytics/analytics.h
Normal file
@ -0,0 +1,30 @@
|
||||
/* -----------------------------------------------------------------------------
|
||||
GSFramework
|
||||
Copyright 2001-2013 Emmanuel Julien. All Rights Reserved.
|
||||
----------------------------------------------------------------------------- */
|
||||
|
||||
|
||||
#ifndef __ANALYTICS__
|
||||
#define __ANALYTICS__
|
||||
|
||||
|
||||
namespace GS {
|
||||
|
||||
/*!
|
||||
@short Analytics system interface.
|
||||
@author Emmanuel Julien (ejulien@owloh.com)
|
||||
*/
|
||||
struct IAnalytics
|
||||
{
|
||||
/// Log an analytics event.
|
||||
virtual void logEvent(const char *) = 0;
|
||||
/// Serve a fullscreen advertisement.
|
||||
virtual void serveFullscreenAd(const char *) = 0;
|
||||
|
||||
virtual ~IAnalytics() {}
|
||||
};
|
||||
|
||||
} // GS
|
||||
|
||||
|
||||
#endif // __ANALYTICS__
|
||||
Reference in New Issue
Block a user