]> Dogcows Code - chaz/openbox/blobdiff - src/openbox.hh
proper order for headers
[chaz/openbox] / src / openbox.hh
index bdd4272d0b10446bb3312510ae7d5ad5ba28269c..8145531fc4e64abb36105f8b78985947fab5b1c1 100644 (file)
@@ -228,6 +228,13 @@ public:
   inline void restart(const std::string &bin = "") {
     _shutdown = true; _restart = true; _restart_prog = bin;
   }
+
+  //! True if Openbox should be restarted instead of exiting
+  inline bool doRestart() const { return _restart; }
+
+  //! The command line requested to be executed in place of restarting
+  //! Openbox the way it was run previously.
+  inline const std::string &restartProgram() const { return _restart_prog; }
 };
 
 }
This page took 0.019759 seconds and 4 git commands to generate.