Subversion Repositories HomeAutomation

Rev

Rev 1945 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed

Rev 1945 Rev 1947
Line 41... Line 41...
41
 
41
 
42
  void InitializeDone();
42
  void InitializeDone();
43
  void CallOutput(unsigned int request_id, std::string output);
43
  void CallOutput(unsigned int request_id, std::string output);
44
 
44
 
45
private:
45
private:
-
 
46
  typedef unsigned int ResourceId;
46
  typedef std::map<uintptr_t, MYSQL*> Resources;
47
  typedef std::map<ResourceId, MYSQL*> Resources;
47
 
48
 
48
  static Resources resources_;
49
  static Resources resources_;
-
 
50
 
-
 
51
  static ResourceId GetFreeResourceId();
49
 
52
 
50
  static Value Export_Connect(const v8::Arguments& args);
53
  static Value Export_Connect(const v8::Arguments& args);
51
  static Value Export_Close(const v8::Arguments& args);
54
  static Value Export_Close(const v8::Arguments& args);
52
  static Value Export_Query(const v8::Arguments& args);
55
  static Value Export_Query(const v8::Arguments& args);
53
  static Value Export_SelectDb(const v8::Arguments& args);
56
  static Value Export_SelectDb(const v8::Arguments& args);
54
  static Value Export_AffectedRows(const v8::Arguments& args);
57
  static Value Export_AffectedRows(const v8::Arguments& args);
-
 
58
  static Value Export_InsertId(const v8::Arguments& args);
55
};
59
};
56
 
60
 
57
}; // namespace plugin
61
}; // namespace plugin
58
}; // namespace vm
62
}; // namespace vm
59
}; // namespace atom
63
}; // namespace atom