YCLIMP
Yandex Command Line Interface Music Player
Loading...
Searching...
No Matches
NewElementsDialogBundle Class Reference

The NewElementsDialogBundle class - sequence of DialogElements that aims to add new tracks(metadata) to application's data.
. More...

#include <NewElementsDialogBundle.hpp>

Inheritance diagram for NewElementsDialogBundle:
Collaboration diagram for NewElementsDialogBundle:

Public Types

enum class  Steps {
  Confirm_Selected_Elements = -1 , Select_Playlist_Or_Create_New = 0 , Set_Playlist_Name_Or_Use_Selected = 1 , Conform_Playlist_name_Or_Skip = 2 ,
  Choose_Source_Directories_If_Any = 3 , Add_Data_To_Database = 4
}

Public Member Functions

 NewElementsDialogBundle (std::vector< File_Ptr > elements, Context context, const Recti &bounds)
virtual bool EventLoopIterationStart () override
virtual void Draw () const override
virtual void HandleResizeEvent (const Recti &newRect) override
virtual void HandleRawInput (int rawInputChar) override
virtual void InputUp () override
virtual void InputDown () override
virtual void InputLeft () override
virtual void InputRight () override
virtual void InputEnter () override
virtual void InputTab () override
Public Member Functions inherited from DialogBundle
 DialogBundle (Context context, const Recti &bounds)

Additional Inherited Members

Protected Attributes inherited from DialogBundle
Recti mBounds
Context mContext

Detailed Description

The NewElementsDialogBundle class - sequence of DialogElements that aims to add new tracks(metadata) to application's data.
.

Rough schema:
1) Dialog with elements(tracks or folders) list to confirm
2) Select where to which playlist(possible to create a new playlist) add those elements
3) Select source folders if any (Source folder - if source folder updates, app database also uptades with newest tracks from this source)
4) Add them to the app's database

Member Function Documentation

◆ Draw()

void NewElementsDialogBundle::Draw ( ) const
overridevirtual

Implements DialogBundle.

◆ EventLoopIterationStart()

bool NewElementsDialogBundle::EventLoopIterationStart ( )
overridevirtual

Implements DialogBundle.

◆ HandleRawInput()

void NewElementsDialogBundle::HandleRawInput ( int rawInputChar)
overridevirtual

Implements DialogBundle.

◆ HandleResizeEvent()

void NewElementsDialogBundle::HandleResizeEvent ( const Recti & newRect)
overridevirtual

Implements DialogBundle.

◆ InputDown()

void NewElementsDialogBundle::InputDown ( )
overridevirtual

Implements DialogBundle.

◆ InputEnter()

void NewElementsDialogBundle::InputEnter ( )
overridevirtual

Implements DialogBundle.

◆ InputLeft()

void NewElementsDialogBundle::InputLeft ( )
overridevirtual

Implements DialogBundle.

◆ InputRight()

void NewElementsDialogBundle::InputRight ( )
overridevirtual

Implements DialogBundle.

◆ InputTab()

void NewElementsDialogBundle::InputTab ( )
overridevirtual

Implements DialogBundle.

◆ InputUp()

void NewElementsDialogBundle::InputUp ( )
overridevirtual

Implements DialogBundle.


The documentation for this class was generated from the following files: