Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 23 lines (19 sloc) 0.555 kB
//
// switcher.h
// gfxCardStatus
//
// Created by Cody Krieger on 5/7/10.
// Copyright 2010 Cody Krieger. All rights reserved.
//
#import <Foundation/Foundation.h>
typedef enum {
modeForceIntel,
modeForceNvidia,
modeDynamicSwitching,
modeToggleGPU
} switcherMode;
BOOL switcherOpen(); // Initialize driver
void switcherClose(); // Close driver
BOOL switcherSetMode(switcherMode mode); // Sets working mode
BOOL switcherUseIntegrated(); // Integrated card is in use
BOOL switcherUseDynamicSwitching(); // Dynamic switching policy enabled
Jump to Line
Something went wrong with that request. Please try again.