Ignore:
Timestamp:
07/24/14 06:41:54 (4 months ago)
Author:
Ken Moore <ken@…>
Branches:
master, releng/10.0.3, releng/10.1
Children:
1891777
Parents:
733da14
Message:

Update lumina-desktop to use the new abilities in LuminaOS instead of the GLobals.h file. Now all the OS-specific stuff is contained in a single location.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lumina/lumina-desktop/Globals.h

    rf71b232 r9d0ec76  
    1111 
    1212#include <unistd.h> 
     13#include <stdio.h> 
    1314 
    14 #ifdef __linux 
     15/*#ifdef __linux 
    1516  // Needed for BUFSIZ 
    1617  #include <stdio.h> 
    17 #endif // #ifdef __linux 
     18#endif // #ifdef __linux*/ 
    1819 
    1920class Lumina{ 
     
    3839          return QString::fromLocal8Bit(name,count); 
    3940        } 
    40         //Shutdown the system 
     41        /*//Shutdown the system 
    4142#ifdef __linux 
    4243        static void shutdown(){ system("(shutdown -h now) &"); } 
     
    6869        static int batterySecondsLeft(){ 
    6970          return LUtils::getCmdOutput("apm -t").join("").toInt(); 
    70         } 
     71        }*/ 
    7172}; 
    7273 
Note: See TracChangeset for help on using the changeset viewer.