cfg_window_size Class Reference

#include <window_placement_helper.h>

Inheritance diagram for cfg_window_size:

cfg_var cfg_var_reader cfg_var_writer

List of all members.

Public Member Functions

bool on_window_creation (HWND window)
void on_window_destruction (HWND window)
bool read_from_window (HWND window)
void get_data_raw (stream_writer *p_stream, abort_callback &p_abort)
void set_data_raw (stream_reader *p_stream, t_size p_sizehint, abort_callback &p_abort)
 cfg_window_size (const GUID &p_guid)


Constructor & Destructor Documentation

cfg_window_size::cfg_window_size ( const GUID &  p_guid  ) 


Member Function Documentation

bool cfg_window_size::on_window_creation ( HWND  window  ) 

void cfg_window_size::on_window_destruction ( HWND  window  ) 

bool cfg_window_size::read_from_window ( HWND  window  ) 

void cfg_window_size::get_data_raw ( stream_writer *  p_stream,
abort_callback &  p_abort 
) [virtual]

Retrieves state of the variable. Called only from main thread, when writing configuration file.

Parameters:
p_stream Stream receiving state of the variable.

Implements cfg_var_writer.

void cfg_window_size::set_data_raw ( stream_reader *  p_stream,
t_size  p_sizehint,
abort_callback &  p_abort 
) [virtual]

Sets state of the variable. Called only from main thread, when reading configuration file.

Parameters:
p_stream Stream containing new state of the variable.
p_sizehint Number of bytes contained in the stream; reading past p_sizehint bytes will fail (EOF).

Implements cfg_var_reader.


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

Generated on Fri Apr 25 18:49:41 2008 for foobar2000 SDK by  doxygen 1.5.5