gearmulator

Emulation of classic VA synths of the late 90s/2000s that are based on Motorola 56300 family DSPs
Log | Files | Refs | Submodules | README | LICENSE

filetype.h (553B)


      1 #pragma once
      2 
      3 #include <string>
      4 #include <cstdint>
      5 
      6 namespace pluginLib
      7 {
      8 	class FileType
      9 	{
     10 	public:
     11 		static const FileType Syx;
     12 		static const FileType Mid;
     13 		static const FileType Empty;
     14 
     15 		explicit FileType(std::string _type) : m_type(std::move(_type))
     16 		{
     17 		}
     18 
     19 		bool operator == (const FileType& _other) const;
     20 		bool operator != (const FileType& _other) const;
     21 
     22 		const std::string& type() const { return m_type; }
     23 
     24 	private:
     25 		std::string m_type;
     26 	};
     27 
     28 	enum class ExportType : uint8_t
     29 	{
     30 		Clipboard,
     31 		DragAndDrop,
     32 		EmuHardware,
     33 		File
     34 	};
     35 }