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:
2021-11-14 22:12:27 +01:00
committed by vanhofen
parent a5056cd696
commit f35a74f78d
2 changed files with 379 additions and 309 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -62,15 +62,15 @@ class CUpnpBrowserGui : public CMenuTarget, public CListHelpers
public:
CUpnpBrowserGui();
~CUpnpBrowserGui();
int exec(CMenuTarget* parent, const std::string & actionKey);
int exec(CMenuTarget *parent, const std::string &actionKey);
private:
std::vector<CUPnPDevice> m_devices;
sigc::connection sigFonts;
sigc::connection sigPall;
UPnPEntry m_playing_entry;
CUPnPSocket * m_socket;
CFrameBuffer * m_frameBuffer;
CUPnPSocket *m_socket;
CFrameBuffer *m_frameBuffer;
int m_LastMode;
int m_width;
int m_height;
@@ -99,7 +99,7 @@ class CUpnpBrowserGui : public CMenuTarget, public CListHelpers
bool m_playing_entry_is_shown;
time_t timeout;
int video_key_msg;
CComponentsDetailsLine * dline;
CComponentsDetailsLine *dline;
CComponentsFooter footer;
CComponentsInfoBox topbox, infobox, timebox;
CComponentsPicture *image;
@@ -116,8 +116,8 @@ class CUpnpBrowserGui : public CMenuTarget, public CListHelpers
void paintDeviceInfo();
void playnext();
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 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 selectItem(std::string);
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);