//qDBusRegisterMetaType<org::maemo::vicar::Profile>();
//qDBusRegisterMetaType<org::maemo::vicar::ProfileList>();
//qDBusRegisterMetaType<org::maemo::vicar::Profile>();
//qDBusRegisterMetaType<org::maemo::vicar::ProfileList>();
- TelepathyUtility *tpUtility = new TelepathyUtility();
- DatabaseUtility *databaseUtility = new DatabaseUtility();
- HarmattanAccountUtility *accountUtility = new HarmattanAccountUtility();
+ TelepathyUtility tpUtility;
+ DatabaseUtility databaseUtility;
if (argc > 1 && argv[1]){
QString instruction = QString(argv[1]);
if (instruction == "INSTALL"){
//Check if Account already exists
if (argc > 1 && argv[1]){
QString instruction = QString(argv[1]);
if (instruction == "INSTALL"){
//Check if Account already exists
qDebug() << "Account Status is "<< status;
}
#if defined(Q_WS_MAEMO_5)
else if (instruction == "CREATEDB"){
qDebug() << "Account Status is "<< status;
}
#if defined(Q_WS_MAEMO_5)
else if (instruction == "CREATEDB"){
#elif defined(Q_WS_MAEMO_6)
else if (instruction == "--create-account"){
qDebug() << "Creating account";
#elif defined(Q_WS_MAEMO_6)
else if (instruction == "--create-account"){
qDebug() << "Creating account";