lib: added back m_seen_usb_error check in DefaultRead()
[barry.git] / src / j_manager.h
blob39e63486a7954bf5be9983a136b71ddaa4cc715d
1 ///
2 /// \file j_manager.h
3 /// Application management classes
4 ///
6 /*
7 Copyright (C) 2009, Nicolas VIVIEN
9 This program is free software; you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation; either version 2 of the License, or
12 (at your option) any later version.
14 This program is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
18 See the GNU General Public License in the COPYING file at the
19 root directory of this project for more details.
22 #ifndef __BARRYJDWP_MANAGER_H__
23 #define __BARRYJDWP_MANAGER_H__
25 #include "dll.h"
26 #include "dp_codinfo.h"
27 #include <stdint.h>
28 #include <string>
29 #include <map>
31 namespace Barry { namespace JDWP {
33 class BXEXPORT JDWAppInfo
35 private:
36 protected:
38 public:
39 uint32_t uniqueId;
40 std::string appName;
42 Barry::JDG::ClassList classList;
44 void Load(Barry::JDG::CodInfo &info);
48 class BXEXPORT JDWAppList : public std::map<uint32_t, JDWAppInfo>
50 public:
51 typedef std::map<uint32_t, JDWAppInfo> base_type;
52 typedef base_type::iterator iterator;
53 typedef base_type::const_iterator const_iterator;
57 }} // namespace Barry::JDWP
60 #endif