Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

ChannelEditWindow Class Reference

#include <channeledit.h>

List of all members.

Public Member Functions

 ChannelEditWindow (MWindow *mwindow, ChannelEditThread *thread, ChannelPicker *channel_picker)
 ~ChannelEditWindow ()
int create_objects ()
int close_event ()
int add_channel ()
int delete_channel (int channel)
int delete_channel (Channel *channel)
int edit_channel ()
int edit_picture ()
int update_list ()
int update_list (Channel *channel)
int update_output ()
int move_channel_up ()
int move_channel_down ()
int change_channel_from_list (int channel_number)
void sort ()
void scan_confirm ()
void scan ()

Public Attributes

ArrayList< BC_ListBoxItem * > channel_list
ChannelEditListlist_box
ChannelEditThreadthread
ChannelPickerchannel_picker
ChannelEditEditThreadedit_thread
ChannelEditPictureThreadpicture_thread
MWindowmwindow
ConfirmScanThreadscan_confirm_thread


Detailed Description

Definition at line 51 of file channeledit.h.


Constructor & Destructor Documentation

ChannelEditWindow::ChannelEditWindow MWindow mwindow,
ChannelEditThread thread,
ChannelPicker channel_picker
 

Definition at line 196 of file channeledit.C.

References scan_confirm_thread.

ChannelEditWindow::~ChannelEditWindow  ) 
 

Definition at line 215 of file channeledit.C.

References channel_list, edit_thread, picture_thread, and scan_confirm_thread.


Member Function Documentation

int ChannelEditWindow::add_channel  ) 
 

Definition at line 286 of file channeledit.C.

References ChannelDB::append(), channel_list, Channel::copy_settings(), Channel::copy_usage(), ChannelEditEditThread::edit_channel(), edit_thread, ChannelDB::get(), Record::master_channel, ChannelEditThread::new_channels, ChannelEditThread::record, ChannelDB::size(), thread, Channel::title, and update_list().

Referenced by ChannelEditAdd::handle_event().

int ChannelEditWindow::change_channel_from_list int  channel_number  ) 
 

Definition at line 498 of file channeledit.C.

References channel_picker, ChannelEditThread::current_channel, ChannelDB::get(), ChannelEditThread::new_channels, ChannelPicker::set_channel(), ChannelDB::size(), and thread.

Referenced by ChannelEditSelect::handle_event().

int ChannelEditWindow::close_event  ) 
 

Definition at line 281 of file channeledit.C.

int ChannelEditWindow::create_objects  ) 
 

Definition at line 228 of file channeledit.C.

References channel_list, channel_picker, edit_thread, ChannelDB::get(), ChannelPicker::get_channel_usage(), Channel::has_scanning, list_box, mwindow, ChannelEditThread::new_channels, picture_thread, ChannelEditThread::record, ChannelDB::size(), thread, and Channel::title.

Referenced by ChannelEditThread::run().

int ChannelEditWindow::delete_channel Channel channel  ) 
 

Definition at line 425 of file channeledit.C.

References delete_channel(), ChannelDB::get(), ChannelEditThread::new_channels, ChannelDB::size(), and thread.

int ChannelEditWindow::delete_channel int  channel  ) 
 

Definition at line 417 of file channeledit.C.

References channel_list, ChannelDB::get(), ChannelEditThread::new_channels, ChannelDB::remove_number(), thread, and update_list().

Referenced by delete_channel(), ChannelEditDel::handle_event(), and ChannelEditEditThread::run().

int ChannelEditWindow::edit_channel  ) 
 

Definition at line 353 of file channeledit.C.

References ChannelEditThread::current_channel, ChannelEditEditThread::edit_channel(), edit_thread, ChannelDB::get(), list_box, ChannelEditThread::new_channels, and thread.

Referenced by ChannelEdit::handle_event(), and ChannelEditList::handle_event().

int ChannelEditWindow::edit_picture  ) 
 

Definition at line 365 of file channeledit.C.

References ChannelEditPictureThread::edit_picture(), and picture_thread.

Referenced by ChannelEditPicture::handle_event().

int ChannelEditWindow::move_channel_down  ) 
 

Definition at line 469 of file channeledit.C.

References channel_list, ChannelDB::get(), list_box, ChannelEditThread::new_channels, ChannelDB::set(), ChannelDB::size(), and thread.

Referenced by ChannelEditMoveDown::handle_event().

int ChannelEditWindow::move_channel_up  ) 
 

Definition at line 439 of file channeledit.C.

References channel_list, ChannelDB::get(), list_box, ChannelEditThread::new_channels, ChannelDB::set(), ChannelDB::size(), and thread.

Referenced by ChannelEditMoveUp::handle_event().

void ChannelEditWindow::scan  ) 
 

Definition at line 379 of file channeledit.C.

References ChannelDB::clear(), ChannelEditThread::new_channels, ChannelEditThread::scan_thread, ScanThread::start(), thread, and update_list().

Referenced by ConfirmScanThread::handle_done_event().

void ChannelEditWindow::scan_confirm  ) 
 

Definition at line 370 of file channeledit.C.

References MWindow::defaults, Channel::load_defaults(), mwindow, scan_confirm_thread, ChannelEditThread::scan_params, and thread.

Referenced by ChannelEditScan::handle_event().

void ChannelEditWindow::sort  ) 
 

Definition at line 389 of file channeledit.C.

References ChannelDB::get(), ChannelEditThread::new_channels, ChannelDB::set(), ChannelDB::size(), thread, Channel::title, and update_list().

Referenced by ChannelEditSort::handle_event().

int ChannelEditWindow::update_list Channel channel  ) 
 

Definition at line 338 of file channeledit.C.

References channel_list, ChannelDB::get(), ChannelEditThread::new_channels, ChannelDB::size(), thread, Channel::title, and update_list().

int ChannelEditWindow::update_list  ) 
 

Definition at line 324 of file channeledit.C.

References channel_list, ChannelDB::get(), list_box, ChannelEditThread::new_channels, ChannelDB::size(), thread, and Channel::title.

Referenced by add_channel(), delete_channel(), ChannelEditEditThread::run(), ScanThread::run(), scan(), sort(), and update_list().

int ChannelEditWindow::update_output  ) 
 


Member Data Documentation

ArrayList<BC_ListBoxItem*> ChannelEditWindow::channel_list
 

Definition at line 75 of file channeledit.h.

Referenced by add_channel(), create_objects(), delete_channel(), move_channel_down(), move_channel_up(), update_list(), and ~ChannelEditWindow().

ChannelPicker* ChannelEditWindow::channel_picker
 

Definition at line 78 of file channeledit.h.

Referenced by change_channel_from_list(), and create_objects().

ChannelEditEditThread* ChannelEditWindow::edit_thread
 

Definition at line 79 of file channeledit.h.

Referenced by add_channel(), ChannelEditThread::close_threads(), create_objects(), edit_channel(), ChannelEditThread::run(), and ~ChannelEditWindow().

ChannelEditList* ChannelEditWindow::list_box
 

Definition at line 76 of file channeledit.h.

Referenced by create_objects(), edit_channel(), ChannelEditDel::handle_event(), ChannelEditSelect::handle_event(), move_channel_down(), move_channel_up(), and update_list().

MWindow* ChannelEditWindow::mwindow
 

Definition at line 81 of file channeledit.h.

Referenced by create_objects(), and scan_confirm().

ChannelEditPictureThread* ChannelEditWindow::picture_thread
 

Definition at line 80 of file channeledit.h.

Referenced by ChannelEditThread::close_threads(), create_objects(), edit_picture(), ChannelEditThread::run(), and ~ChannelEditWindow().

ConfirmScanThread* ChannelEditWindow::scan_confirm_thread
 

Definition at line 82 of file channeledit.h.

Referenced by ChannelEditWindow(), scan_confirm(), and ~ChannelEditWindow().

ChannelEditThread* ChannelEditWindow::thread
 

Definition at line 77 of file channeledit.h.

Referenced by add_channel(), change_channel_from_list(), ChannelEditEditWindow::create_objects(), ConfirmScan::create_objects(), create_objects(), delete_channel(), edit_channel(), ConfirmScanThread::handle_done_event(), move_channel_down(), move_channel_up(), scan(), scan_confirm(), sort(), and update_list().


The documentation for this class was generated from the following files:
Generated on Sun Jan 8 13:39:11 2006 for Cinelerra-svn by  doxygen 1.4.4