FOSSology  4.4.0
Open Source License Compliance by Open Source Software
scancode_state.hpp
1 /*
2  SPDX-FileCopyrightText: © 2021 Sarita Singh <saritasingh.0425@gmail.com>
3 
4  SPDX-License-Identifier: GPL-2.0-only
5 */
6 
7 #ifndef SCANCODE_AGENT_STATE_HPP
8 #define SCANCODE_AGENT_STATE_HPP
9 
11 #include "scancode_dbhandler.hpp"
12 
13 using namespace std;
14 
18 class State {
19 public:
20  State(int agentId);
21  void setCliOptions(string cliOptions);
22  int getAgentId() const;
23  string getCliOptions() const;
24 
25 private:
29  int agentId;
30 
34  string cliOptions;
35 };
36 
37 #endif // SCANCODE_AGENT_STATE_HPP
Definition: state.hpp:16
string cliOptions
DB wrapper for agents.