~dpm/+junk/dualboot-cmake

« back to all changes in this revision

Viewing changes to src/plugin/dualboot/reboot.cpp

  • Committer: David Planella
  • Date: 2014-04-30 19:07:12 UTC
  • Revision ID: david.planella@ubuntu.com-20140430190712-v828qtallhalvs2t
Made more changes to enable building from Qt Creator

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#include "ubuntuboot.h"
 
1
#include "reboot.h"
2
2
 
3
 
Ubuntuboot::Ubuntuboot(QObject *parent) :
 
3
UbuntuBoot::UbuntuBoot(QObject *parent) :
4
4
    QObject(parent)
5
5
{
6
6
     boot_android_cmd ="sudo -S /system/bin/reboot";
11
11
     result_cmd= 0;
12
12
}
13
13
 
14
 
Ubuntuboot::~Ubuntuboot() {
 
14
UbuntuBoot::~UbuntuBoot() {
15
15
    
16
16
}
17
17
 
18
 
void Ubuntuboot::reboot() {
 
18
void UbuntuBoot::reboot() {
19
19
 
20
20
    QString icmd = "";
21
21
    //configure account