diff options
| author | srdusr <[email protected]> | 2025-08-24 00:44:00 +0200 |
|---|---|---|
| committer | srdusr <[email protected]> | 2025-08-24 00:44:00 +0200 |
| commit | 72e787a706d372c9a92e424e9b13ece929cb2bce (patch) | |
| tree | 237ea5559a63474c2539761b6ce1015fc31dc1da /legacy-cpp/src/platform/platform_factory.h | |
| parent | 2a3fdcf2faf6cadb1fa49ed7c4b2963b554b0724 (diff) | |
| download | srdwm-72e787a706d372c9a92e424e9b13ece929cb2bce.tar.gz srdwm-72e787a706d372c9a92e424e9b13ece929cb2bce.zip | |
Remove the stale legacy-cpp implementation
The Rust rewrite (crates/) has fully superseded it - keeping both around
was actively misleading (main looked like it still shipped a C++ build),
and nothing here still depends on it.
Diffstat (limited to 'legacy-cpp/src/platform/platform_factory.h')
| -rw-r--r-- | legacy-cpp/src/platform/platform_factory.h | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/legacy-cpp/src/platform/platform_factory.h b/legacy-cpp/src/platform/platform_factory.h deleted file mode 100644 index 24f7586..0000000 --- a/legacy-cpp/src/platform/platform_factory.h +++ /dev/null @@ -1,37 +0,0 @@ -#ifndef SRDWM_PLATFORM_FACTORY_H -#define SRDWM_PLATFORM_FACTORY_H - -#include "platform.h" -#include <memory> -#include <string> -#include <vector> - -// Platform factory for creating platform-specific implementations -class PlatformFactory { -public: - // Create platform with automatic detection - static std::unique_ptr<Platform> create_platform(); - - // Create specific platform by name - static std::unique_ptr<Platform> create_platform(const std::string& platform_name); - - // Get list of available platforms - static std::vector<std::string> get_available_platforms(); - - // Get current platform name - static std::string get_current_platform(); - - // Check if platform is available - static bool is_platform_available(const std::string& platform_name); - - // Print platform information - static void print_platform_info(); - -private: - // Linux platform detection - static std::unique_ptr<Platform> detect_linux_platform(); -}; - -#endif // SRDWM_PLATFORM_FACTORY_H - - |