Sha256: 1b487a2c439c0b5b33cd92aefa520234ac479d8ac44e0e55b5723713e1ef5681

Contents?: true

Size: 951 Bytes

Versions: 1

Compression:

Stored size: 951 Bytes

Contents

#include "NotificationBase.h"
#include "common/RhodesApp.h"


namespace rho {

IMPLEMENT_LOGCLASS(CNotificationSingletonBase, "Notification");
IMPLEMENT_LOGCLASS(CNotificationBase, "Notification");

rho::common::CAutoPtr< CNotificationFactoryBase> CNotificationFactoryBase::m_pInstance;



///////////////////////////////////////
//string constants definiton 
const char INotification::TYPE_DIALOG[] = "dialog"; 
const char INotification::TYPE_NOTIFICATION[] = "notification"; 
const char INotification::TYPE_NOTIFICATION_DIALOG[] = "notificationDialog"; 
const char INotification::TYPE_TOAST[] = "toast"; 

////////////////////////////////////////////////

CNotificationBase::CNotificationBase()
{

}
CNotificationSingletonBase::CNotificationSingletonBase()
{
    RHODESAPP().getExtManager().registerExtension( "Notification", this );
}

CNotificationSingletonBase::~CNotificationSingletonBase()
{
    CNotificationFactoryBase::setInstance(0);
}


}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tauplatform-1.0.1 lib/commonAPI/coreapi/ext/shared/generated/cpp/NotificationBase.cpp