-
Notifications
You must be signed in to change notification settings - Fork 1
/
Wire.cpp
45 lines (36 loc) · 867 Bytes
/
Wire.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
/*
* nOSGi Project - http://www-vs.informatik.uni-ulm.de/proj/nosgi/
*
* Copyright (C) 2009-2011 Aspectix Research Team,
* Institute of Distributed Systems, Ulm University, Germany
*
* This file is part of the nOSGi Project, which is released
* under the terms of the GNU General Public License.
* See the LICENSE.txt file in the root directory of the software
* distribution for more details.
*/
#include <nosgi/framework/Wire.h>
Wire::Wire(string &forPackage) {
package = forPackage;
}
string &Wire::getPackageName() {
return package;
}
int Wire::getBundleId() {
return bundleId;
}
void Wire::setBundleId(int newBundleId) {
bundleId = newBundleId;
}
Version &Wire::getVersion() {
return version;
}
void Wire::setVersion(Version &v) {
version = v;
}
void *Wire::getHandle() {
return handle;
}
void Wire::setHandle(void *h) {
handle = h;
}