mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 17:19:44 -06:00
CDUtils: Namespace code under the Common namespace
This commit is contained in:
@ -34,6 +34,8 @@
|
||||
#include <linux/cdrom.h>
|
||||
#endif
|
||||
|
||||
namespace Common
|
||||
{
|
||||
#ifdef _WIN32
|
||||
// takes a root drive path, returns true if it is a cdrom drive
|
||||
bool is_cdrom(const TCHAR* drive)
|
||||
@ -219,3 +221,4 @@ bool cdio_is_cdrom(std::string device)
|
||||
}
|
||||
return false;
|
||||
}
|
||||
} // namespace Common
|
||||
|
@ -7,8 +7,11 @@
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
namespace Common
|
||||
{
|
||||
// Returns a pointer to an array of strings with the device names
|
||||
std::vector<std::string> cdio_get_devices();
|
||||
|
||||
// Returns true if device is cdrom/dvd
|
||||
bool cdio_is_cdrom(std::string device);
|
||||
} // namespace Common
|
||||
|
Reference in New Issue
Block a user