mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 18:01:06 +02:00
upnpbrowser: change code format
Origin commit data
------------------
Commit: 774247789b
Author: Thilo Graf <dbt@novatux.de>
Date: 2021-11-14 (Sun, 14 Nov 2021)
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -62,15 +62,15 @@ class CUpnpBrowserGui : public CMenuTarget, public CListHelpers
|
|||||||
public:
|
public:
|
||||||
CUpnpBrowserGui();
|
CUpnpBrowserGui();
|
||||||
~CUpnpBrowserGui();
|
~CUpnpBrowserGui();
|
||||||
int exec(CMenuTarget* parent, const std::string & actionKey);
|
int exec(CMenuTarget *parent, const std::string &actionKey);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
std::vector<CUPnPDevice> m_devices;
|
std::vector<CUPnPDevice> m_devices;
|
||||||
sigc::connection sigFonts;
|
sigc::connection sigFonts;
|
||||||
sigc::connection sigPall;
|
sigc::connection sigPall;
|
||||||
UPnPEntry m_playing_entry;
|
UPnPEntry m_playing_entry;
|
||||||
CUPnPSocket * m_socket;
|
CUPnPSocket *m_socket;
|
||||||
CFrameBuffer * m_frameBuffer;
|
CFrameBuffer *m_frameBuffer;
|
||||||
int m_LastMode;
|
int m_LastMode;
|
||||||
int m_width;
|
int m_width;
|
||||||
int m_height;
|
int m_height;
|
||||||
@@ -99,7 +99,7 @@ class CUpnpBrowserGui : public CMenuTarget, public CListHelpers
|
|||||||
bool m_playing_entry_is_shown;
|
bool m_playing_entry_is_shown;
|
||||||
time_t timeout;
|
time_t timeout;
|
||||||
int video_key_msg;
|
int video_key_msg;
|
||||||
CComponentsDetailsLine * dline;
|
CComponentsDetailsLine *dline;
|
||||||
CComponentsFooter footer;
|
CComponentsFooter footer;
|
||||||
CComponentsInfoBox topbox, infobox, timebox;
|
CComponentsInfoBox topbox, infobox, timebox;
|
||||||
CComponentsPicture *image;
|
CComponentsPicture *image;
|
||||||
@@ -116,8 +116,8 @@ class CUpnpBrowserGui : public CMenuTarget, public CListHelpers
|
|||||||
void paintDeviceInfo();
|
void paintDeviceInfo();
|
||||||
void playnext();
|
void playnext();
|
||||||
|
|
||||||
bool getItems(std::string id, unsigned int index, std::vector<UPnPEntry> * &entries, unsigned int &total);
|
bool getItems(std::string id, unsigned int index, std::vector<UPnPEntry>*&entries, unsigned int &total);
|
||||||
bool updateItemSelection(std::string id, std::vector<UPnPEntry> * &entries, int newpos, unsigned int &selected, unsigned int &liststart);
|
bool updateItemSelection(std::string id, std::vector<UPnPEntry>*&entries, int newpos, unsigned int &selected, unsigned int &liststart);
|
||||||
bool selectItem(std::string);
|
bool selectItem(std::string);
|
||||||
void paintItems(std::vector<UPnPEntry> *entry, unsigned int selected, unsigned int max, unsigned int offset);
|
void paintItems(std::vector<UPnPEntry> *entry, unsigned int selected, unsigned int max, unsigned int offset);
|
||||||
void paintItem(std::vector<UPnPEntry> *entry, unsigned int pos, unsigned int selected);
|
void paintItem(std::vector<UPnPEntry> *entry, unsigned int pos, unsigned int selected);
|
||||||
|
Reference in New Issue
Block a user