aboutsummaryrefslogtreecommitdiff
path: root/src/Remember.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/Remember.hh')
-rw-r--r--src/Remember.hh13
1 files changed, 5 insertions, 8 deletions
diff --git a/src/Remember.hh b/src/Remember.hh
index bc7b292..dc632cc 100644
--- a/src/Remember.hh
+++ b/src/Remember.hh
@@ -20,7 +20,7 @@
20// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
21// DEALINGS IN THE SOFTWARE. 21// DEALINGS IN THE SOFTWARE.
22 22
23// $Id: Remember.hh,v 1.1 2003/04/26 07:57:00 rathnor Exp $ 23// $Id: Remember.hh,v 1.2 2003/04/26 11:24:55 rathnor Exp $
24 24
25/* Based on the original "Remember patch" by Xavier Brouckaert */ 25/* Based on the original "Remember patch" by Xavier Brouckaert */
26 26
@@ -30,14 +30,11 @@
30#include "Window.hh" 30#include "Window.hh"
31#include "AtomHandler.hh" 31#include "AtomHandler.hh"
32#include "Screen.hh" 32#include "Screen.hh"
33
34/*
35#include <iostream>
36#include <string>
37#include "StringUtil.hh" 33#include "StringUtil.hh"
38*/ 34
39#include <fstream> 35#include <fstream>
40#include <map> 36#include <map>
37#include <string>
41 38
42class Application { 39class Application {
43public: 40public:
@@ -123,7 +120,7 @@ public:
123 REM_LASTATTRIB // not actually used 120 REM_LASTATTRIB // not actually used
124 }; 121 };
125 122
126 typedef std::map<string,Application *> Apps; 123 typedef std::map<std::string,Application *> Apps;
127 Remember(); 124 Remember();
128 125
129 Application* find(WinClient &winclient); 126 Application* find(WinClient &winclient);
@@ -166,7 +163,7 @@ public:
166private: 163private:
167 164
168 // returns number of lines read 165 // returns number of lines read
169 int parseApp(ifstream &file, Application *a); 166 int parseApp(std::ifstream &file, Application *a);
170 Apps apps; 167 Apps apps;
171 168
172}; 169};