AnyConnect Secure Mobility Client 4.4.00243

include/PreferenceUpdate.h

00001 /**************************************************************************
00002 *       Copyright © 2009, Cisco Systems, All Rights Reserved
00003 ***************************************************************************
00004 *
00005 *  File:    PreferenceUpdate.h
00006 *  Author:  Ivonne Olavarrieta Arruti
00007 *  Date:    06/2009
00008 *
00009 ***************************************************************************
00010 *
00011 *   Preference Update Interface declaration for the Client API. 
00012 *
00013 ***************************************************************************/
00014 
00015 #ifndef _PREFERENCEUPDATE_
00016 #define _PREFERENCEUPDATE_
00017 
00018 #include "api.h"
00019 
00020 class VPN_VPNAPI IPreferenceUpdateCB
00021 {    
00022 public:
00023     /*
00024     ** IPreferenceUpdateCB::OnLoadPreferencesComplete
00025     **   Callback method invoked when the loadPreferences operation has completed
00026     **   and preferences have been reloaded.
00027     **
00028     **   NOTE: Implementations of this callback must be thread safe.
00029     */
00030     virtual void OnLoadPreferencesComplete() = 0;
00031 
00032 protected:
00033     // Deletions should not be done via a callback Interface base class pointer.
00034     // By declaring the destructor as protected, we prevent this.
00035     //
00036     virtual ~IPreferenceUpdateCB() {}
00037 };
00038 
00039 
00040 
00041 #endif // _PREFERENCEUPDATE_
00042