Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: e52cd99817
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 51 lines (46 sloc) 1.676 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
/**
* This header is generated by class-dump-z 0.2a.
* class-dump-z is Copyright (C) 2009 by KennyTM~, licensed under GPLv3.
*
* Source: (null)
*/

#import <XXUnknownSuperclass.h> // Unknown library

@class NSLock, SBProcess, NSString;

@interface SBProcessAssertion : XXUnknownSuperclass {
unsigned _clientPort;
unsigned _reason;
NSString* _identifier;
SBProcess* _process;
NSLock* _lock;
int _ownerPID;
unsigned _powerAssertionID;
unsigned _preventSuspend : 1;
unsigned _preventThrottleDownCPU : 1;
unsigned _preventThrottleDownUI : 1;
unsigned _preventIdleSleep : 1;
}
@property(retain, nonatomic) NSString* identifier;
@property(readonly, assign) int ownerPID;
@property(readonly, assign) unsigned clientPort;
@property(readonly, assign) unsigned reason;
@property(readonly, assign) SBProcess* process;
@property(assign) BOOL preventIdleSleep;
@property(assign) BOOL preventThrottleDownUI;
@property(assign) BOOL preventThrottleDownCPU;
@property(assign) BOOL preventSuspend;
@property(readonly, assign) BOOL hasFixedStartTime;
@property(readonly, assign, getter=isTimeLimited) BOOL timeLimited;
@property(readonly, assign) double permittedBackgroundDuration;
-(id)initWithProcess:(id)process reason:(unsigned)reason identifier:(id)identifier;
-(id)initWithMachPort:(unsigned)machPort process:(id)process ownerPID:(int)pid reason:(unsigned)reason identifier:(id)identifier;
-(void)dealloc;
-(id)description;
-(BOOL)isValid;
-(unsigned)flags;
-(void)setFlags:(unsigned)flags;
-(void)setProcessToNil;
-(void)removeFromProcess;
-(void)nts_createPowerAssertionEnabled;
-(void)nts_destroyPowerAssertionEnabled;
-(void)nts_setPreventIdleSleep:(BOOL)sleep;
@end

Something went wrong with that request. Please try again.