Battery の動作サンプル
#include <iostream>
#include <SDL.h>
using namespace hrk;
using namespace std;
int main(int argc, char *argv[])
{
static_cast<void>(argc);
static_cast<void>(argv);
cout << "Battery class" << endl
<<
"is_available(): " << battery.
is_available() << endl
<<
"is_charging(): " << battery.
is_charging() << endl
<<
"remaining_second(): " << battery.
remaining_second()
<< endl;
return 0;
}