~ubuntu-branches/debian/stretch/psi-plus/stretch

« back to all changes in this revision

Viewing changes to src/libpsi/tools/systemwatch/systemwatch_mac.cpp

  • Committer: Package Import Robot
  • Author(s): Boris Pek
  • Date: 2013-10-23 02:42:20 UTC
  • mfrom: (1.4.7)
  • Revision ID: package-import@ubuntu.com-20131023024220-bk2hyoenqkwfhpgw
Tags: 0.16.242-1
* New upstream release:
  fixed the problem of initialization of private conversation when both
  sides use libotr 4.0.x. (Closes: #724880)
* Update debian/watch: sources were moved.
* Delete psi-plus-content-downloader package and update all related files.
  This plugin is in psi-plus-plugins package now.
* Update debian/control:
  - remove all currently unneeded Replaces and Breaks fields
  - add build dependency on libidn11-dev
* Update debian/rules: simplify get-orig-source section.
* Update debian/copyright:
  - update Source field due to changes in sources location
  - remove copyright holders whose code was deleted from source tree
    (bundled libidn library was removed)

Show diffs side-by-side

added added

removed removed

Lines of Context:
42
42
{
43
43
        //printf("messageType %08lx, arg %08lx\n",
44
44
        //  (long unsigned int)messageType, (long unsigned int)messageArgument);
45
 
        
 
45
 
46
46
        MacSystemWatch* macSystemWatch = static_cast<MacSystemWatch*>(systemWatch);
47
47
        switch (messageType) {
48
48
                case kIOMessageSystemWillSleep:
50
50
                        macSystemWatch->emitSleep();
51
51
                        IOAllowPowerChange(root_port, (long)messageArgument);
52
52
                        break;
53
 
                        
 
53
 
54
54
                case kIOMessageCanSystemSleep:
55
55
                        // Idle time sleep
56
56
 
61
61
                        macSystemWatch->emitIdleSleep();
62
62
                        IOAllowPowerChange(root_port, (long)messageArgument);
63
63
                        break;
64
 
                        
 
64
 
65
65
                case kIOMessageSystemHasPoweredOn:
66
66
                        // Wakeup
67
67
                        macSystemWatch->emitWakeup();