Log In
New Account
  
Home My Page Project Cloud Code Snippets Project Openings Pierogi
Summary Forums Tracker Lists Tasks Docs News SCM Files
index e68c59c..1d3be72 100644 (file)
@@ -3,7 +3,6 @@
 
 // Based on LIRC Apple_A1156 config file
 AppleWhiteRemote::AppleWhiteRemote(
 
 // Based on LIRC Apple_A1156 config file
 AppleWhiteRemote::AppleWhiteRemote(
-  QObject *guiObject,
   unsigned int index)
   : PIRKeysetMetaData(
       "White Remote",
   unsigned int index)
   : PIRKeysetMetaData(
       "White Remote",
@@ -11,6 +10,17 @@ AppleWhiteRemote::AppleWhiteRemote(
       index)
 {
   addControlledDevice(Apple_Make, "Mac Mini", Computer_Device);
       index)
 {
   addControlledDevice(Apple_Make, "Mac Mini", Computer_Device);
+}
+
+
+void AppleWhiteRemote::populateProtocol(
+  QObject *guiObject)
+{
+  if (threadableProtocol)
+  {
+    // If the pointer is not null, the keyset must already be populated.
+    return;
+  }
 
   // Set up the threadable object:
   LIRCProtocol *lp = new LIRCProtocol(
 
   // Set up the threadable object:
   LIRCProtocol *lp = new LIRCProtocol(

Terms of Use    Privacy Policy    Contribution Guidelines    Feedback

Powered By GForge Collaborative Development Environment