GDAppExpiration Class Reference

The GDAppExpiration is a utility that can manage app expirations for a couple situations. More...

#import <GDAppExpiration.h>

List of all members.

Public Member Functions

(Boolean) - hasExceededMaxLaunches
 Whether or not the application has been launched more then the maximum allowed times.
(Boolean) - hasClientExpired
 Whether or not the client has expired after a certain number of days.
(void) - applicationLaunched
 Increments the launch count.

Static Public Member Functions

(Boolean) + isBetaExpired
 Whether or not a Beta app has expired.

Properties

short launchCount
 The number of times the application has launched.
short maxLaunches
 The maximum number of application launches.
short runsForDays
 How many days the app should run for.

Detailed Description

The GDAppExpiration is a utility that can manage app expirations for a couple situations.

It manages a few situations - first when the app is in Beta, and it needs to expire a certain amount of days after the application was compiled - like 45 days or something. This is a hard compiled in date in the app.

Another option - keep track of when an application expires on the client machine, after a thresh-hold like 15 days.

And the last option - keep track of the number of times an application has launched, and whether or not it exceeds a thresh-hold.

Macros:
GDAppBetaExpires - Define this to indicate the a expiration date should be compiled in for "Beta" expirations.
GDAppBetaExpiresAfter - The number of days before the beta app expires - the default is 45. GDAppExpiresAfterLaunches - The maximum number of application launches before the app is considered expired - the default is 15.


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Enumerations Enumerator Properties Defines