Horizon
src
pool-mgr
duplicate
duplicate_part.hpp
1
#pragma once
2
#include <gtkmm.h>
3
#include "util/uuid.hpp"
4
5
namespace
horizon
{
6
class
DuplicatePartWidget
:
public
Gtk::Box {
7
public
:
8
DuplicatePartWidget
(
class
Pool
*p,
const
UUID
&part_uuid, Gtk::Box *ubox,
class
DuplicateWindow
*w);
9
void
duplicate();
10
11
static
UUID
duplicate_package(
class
Pool
*pool,
const
UUID
&uu,
const
std::string &new_dir,
12
const
std::string &new_name);
13
14
private
:
15
class
Pool
*pool;
16
const
class
Part
*part;
17
Gtk::Entry *mpn_entry =
nullptr
;
18
Gtk::Entry *manufacturer_entry =
nullptr
;
19
class
LocationEntry
*location_entry =
nullptr
;
20
Gtk::Grid *grid =
nullptr
;
21
22
class
DuplicatePackageWidget
*dpw =
nullptr
;
23
class
DuplicateEntityWidget
*dew =
nullptr
;
24
25
class
DuplicateWindow
*win;
26
};
27
}
// namespace horizon
horizon::LocationEntry
Definition:
location_entry.hpp:6
horizon::DuplicatePartWidget
Definition:
duplicate_part.hpp:6
horizon::DuplicateWindow
Definition:
duplicate_window.hpp:7
horizon::DuplicatePackageWidget
Definition:
duplicate_part.cpp:15
horizon::DuplicateEntityWidget
Definition:
duplicate_entity.hpp:6
horizon::Part
Definition:
part.hpp:13
horizon::UUID
This class encapsulates a UUID and allows it to be uses as a value type.
Definition:
uuid.hpp:16
horizon::Pool
Stores objects (Unit, Entity, Symbol, Part, etc.) from the pool.
Definition:
pool.hpp:18
horizon
Definition:
block.cpp:7
Generated by
1.8.13