boost::filesystem::path
-shared_path ()
+resources_path ()
{
return directory_containing_executable().parent_path();
}
+boost::filesystem::path
+xsd_path ()
+{
+ return directory_containing_executable().parent_path() / "xsd";
+}
+
+
+boost::filesystem::path
+tags_path ()
+{
+ return directory_containing_executable().parent_path() / "tags";
+}
+
+
boost::filesystem::path
openssl_path ()
{
&geom, sizeof(geom), &returned, 0
);
- LOG_DISK("Having a looky through %1 locked volumes", locked_volumes.size());
+ LOG_DISK("Having a look through %1 locked volumes", locked_volumes.size());
bool locked = false;
for (vector<pair<HANDLE, string> >::const_iterator i = locked_volumes.begin(); i != locked_volumes.end(); ++i) {
if (i->second == physical_drive) {
bool
Drive::unmount ()
{
- LOG_DISK("Unmounting %1 with %2 mount points XXX! MMMYEAH!", _device, _mount_points.size());
+ LOG_DISK("Unmounting %1 with %2 mount points", _device, _mount_points.size());
DCPOMATIC_ASSERT (_mount_points.size() == 1);
string const device_name = String::compose ("\\\\.\\%1", _mount_points.front());
string const truncated = device_name.substr (0, device_name.length() - 1);