/****************************************************************************
*                                                                           *
* Project 64 - A Nintendo 64 emulator.                                      *
* http://www.pj64-emu.com/                                                  *
* Copyright (C) 2012 Project64. All rights reserved.                        *
*                                                                           *
* License:                                                                  *
* GNU/GPLv2 http://www.gnu.org/licenses/gpl-2.0.html                        *
*                                                                           *
****************************************************************************/
#include "stdafx.h"
#include "SettingsType-TempNumber.h"

CSettingTypeTempNumber::CSettingTypeTempNumber(ULONG initialValue) :
	m_value(initialValue)
{
}

CSettingTypeTempNumber::~CSettingTypeTempNumber ( void )
{
}

bool CSettingTypeTempNumber::Load ( int /*Index*/, bool & /*Value*/ ) const
{
	Notify().BreakPoint(__FILEW__,__LINE__); 
	return true;
}

bool CSettingTypeTempNumber::Load ( int /*Index*/, ULONG & Value ) const
{
	Value = m_value;
	return false;
}

bool CSettingTypeTempNumber::Load ( int /*Index*/, stdstr & /*Value*/ ) const
{
	Notify().BreakPoint(__FILEW__,__LINE__); 
	return false;
}

//return the default values
void CSettingTypeTempNumber::LoadDefault ( int /*Index*/, bool & /*Value*/ ) const
{
	Notify().BreakPoint(__FILEW__,__LINE__);
}

void CSettingTypeTempNumber::LoadDefault ( int /*Index*/, ULONG & /*Value*/ ) const
{
	Notify().BreakPoint(__FILEW__,__LINE__); 
}

void CSettingTypeTempNumber::LoadDefault ( int /*Index*/, stdstr & /*Value*/ ) const
{
	Notify().BreakPoint(__FILEW__,__LINE__); 
}

void CSettingTypeTempNumber::Save ( int /*Index*/, bool /*Value*/ )
{
	Notify().BreakPoint(__FILEW__,__LINE__); 
}

void CSettingTypeTempNumber::Save ( int /*Index*/, ULONG Value )
{
	m_value = Value;
}

void CSettingTypeTempNumber::Save ( int /*Index*/, const stdstr & /*Value*/ )
{
	Notify().BreakPoint(__FILEW__,__LINE__); 
}

void CSettingTypeTempNumber::Save ( int /*Index*/, const char * /*Value*/ )
{
	Notify().BreakPoint(__FILEW__,__LINE__); 
}

void CSettingTypeTempNumber::Delete( int /*Index*/ )
{
	Notify().BreakPoint(__FILEW__,__LINE__); 
}
