Packets: Fix VariantParser invalid parser access bug
[senf.git] / PPI / ForwardSwitch.hh
index 92bd13a..20649bf 100644 (file)
@@ -18,8 +18,8 @@
 // Free Software Foundation, Inc.,
 // 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 
-#ifndef FORWARDSWITCH_HH_
-#define FORWARDSWITCH_HH_
+#ifndef HH_SENF_PPI_ForwardSwitch_
+#define HH_SENF_PPI_ForwardSwitch_
 
 // Custom includes
 #include "Connectors.hh"
@@ -39,16 +39,16 @@ public:
     connector::ActiveOutput<> output;
 
     ForwardSwitch(bool state);
-
-private:
-    void onRequest();  
-       bool forward_;
     bool forward();
     bool forward(bool state);
     bool stopForwarding();
     bool startForwarding();
+private:
+    void onRequest();
+    bool forward_;
+
 };
 
 }}} //namespaces
 #include "ForwardSwitch.cci"
-#endif /*FORWARDSWITCH_HH_*/
+#endif /*HH_SENF_PPI_ForwardSwitch_*/