mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-10 11:59:58 -05:00
Initial community commit
This commit is contained in:
30
Src/Plugins/Portable/pmp_wifi/main.h
Normal file
30
Src/Plugins/Portable/pmp_wifi/main.h
Normal file
@@ -0,0 +1,30 @@
|
||||
#pragma once
|
||||
#include "../../Library/ml_pmp/pmp.h"
|
||||
#include "../Winamp/wa_ipc.h"
|
||||
#include <bfc/platform/types.h>
|
||||
#include "modelInfo.h"
|
||||
extern PMPDevicePlugin plugin;
|
||||
extern int winampVersion;
|
||||
extern GUID winamp_id;
|
||||
extern char winamp_id_str[40];
|
||||
extern char winamp_name[260];
|
||||
extern wchar_t inifile[MAX_PATH];
|
||||
void StopListenServer();
|
||||
BOOL FormatResProtocol(const wchar_t *resourceName, const wchar_t *resourceType, wchar_t *buffer, size_t bufferMax);
|
||||
|
||||
|
||||
// result from <device> XML data structure
|
||||
struct DeviceInfo
|
||||
{
|
||||
uint64_t total_space, used_space;
|
||||
uint64_t id;
|
||||
|
||||
wchar_t manufacturer[128];
|
||||
wchar_t model[128];
|
||||
wchar_t name[128];
|
||||
wchar_t product[128];
|
||||
const ModelInfo *modelInfo;
|
||||
};
|
||||
|
||||
extern "C" void DeviceInfo_Init(DeviceInfo *device_info);
|
||||
extern "C" void DeviceInfo_Copy(DeviceInfo *dest, const DeviceInfo *source);
|
Reference in New Issue
Block a user