#pragma once

namespace TwitchInGames {
	struct DdeServer {
		DdeServer(LPCTSTR redirectUri);
		~DdeServer();
		tstring GetUri() const;
		void Cancel();

	private:
		tstring twigKeyName;
		std::future<void> ddeTask;
		DWORD ddeThreadId;
	};
}
