| 156 | } |
| 157 | |
| 158 | BundleContext |
| 159 | Bundle::GetBundleContext() const |
| 160 | { |
| 161 | if (!d) |
| 162 | { |
| 163 | throw std::invalid_argument("invalid bundle"); |
| 164 | } |
| 165 | |
| 166 | return MakeBundleContext(d->bundleContext.Load()); |
| 167 | } |
| 168 | |
| 169 | long |
| 170 | Bundle::GetBundleId() const |