| // Copyright 2018 The Fuchsia Authors. All rights reserved. | |
| // Use of this source code is governed by a BSD-style license that can be | |
| // found in the LICENSE file. | |
| #ifndef SRC_DEVELOPER_DEBUG_ZXDB_CLIENT_CLIENT_OBJECT_H_ | |
| #define SRC_DEVELOPER_DEBUG_ZXDB_CLIENT_CLIENT_OBJECT_H_ | |
| namespace zxdb { | |
| class Session; | |
| // Base class for debugger client objects. | |
| // | |
| // Currently this doesn't do much. It's anticipated that this will provide bindings and such when | |
| // scripting support is added. | |
| class ClientObject { | |
| public: | |
| explicit ClientObject(Session* session); | |
| virtual ~ClientObject(); | |
| Session* session() const { return session_; } | |
| private: | |
| Session* session_; | |
| }; | |
| } // namespace zxdb | |
| #endif // SRC_DEVELOPER_DEBUG_ZXDB_CLIENT_CLIENT_OBJECT_H_ |