MBS Xojo Developer Conference and Training
Join us from 3rd to 6th May 2017 in Berlin, Germany.

Platforms to show: All Mac Windows Linux Cross-Platform

IOPowerSourcesMBS class

class, Power, MBS MacOSXCF Plugin (IOPowerSources), class IOPowerSourcesMBS,
Plugin version: 4.0, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: A class to look on all the power sources on a Mac OS X based computer.
dim i as IOPowerSourcesMBS
dim j,n as Integer

i=new IOPowerSourcesMBS

for j=0 to n
CFShowMBS i.Item(j) // Print battery info to console.
Notes: Requires Mac OS X.

This class has no sub classes.

Some examples which use this class:

The items on this page are in the following plugins: MBS MacOSXCF Plugin.

IOPMMBS   -   IORegistryNodeMBS

MBS Xojo Plugins