MCPcopy Create free account
hub / github.com/buggins/coolreader / doCommand

Method doCommand

cr3gui/src/cr3pocketbook.cpp:330–337  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

328 }
329
330 bool doCommand( int cmd, int params )
331 {
332 CRLog::debug("doCommand(%d, %d)", cmd, params);
333 if ( !onCommand( cmd, params ) )
334 return false;
335 update( false );
336 return true;
337 }
338
339 bool getBatteryStatus(int & percent, bool & charging) {
340 charging = IsCharging() > 0; // TODO: find out values returned by the IsCharging() function.

Callers 1

onCommandMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected