mmlibs/mmfw/tsrc/mmfintegrationtest/ACLNT/TSI_MMFACLNT.inl
author hgs
Thu, 07 Oct 2010 22:34:12 +0100
changeset 0 b8ed18f6c07b
permissions -rw-r--r--
2010wk40
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
b8ed18f6c07b 2010wk40
hgs
parents:
diff changeset
     1
// Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
b8ed18f6c07b 2010wk40
hgs
parents:
diff changeset
     2
// All rights reserved.
b8ed18f6c07b 2010wk40
hgs
parents:
diff changeset
     3
// This component and the accompanying materials are made available
b8ed18f6c07b 2010wk40
hgs
parents:
diff changeset
     4
// under the terms of "Eclipse Public License v1.0"
b8ed18f6c07b 2010wk40
hgs
parents:
diff changeset
     5
// which accompanies this distribution, and is available
b8ed18f6c07b 2010wk40
hgs
parents:
diff changeset
     6
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
b8ed18f6c07b 2010wk40
hgs
parents:
diff changeset
     7
//
b8ed18f6c07b 2010wk40
hgs
parents:
diff changeset
     8
// Initial Contributors:
b8ed18f6c07b 2010wk40
hgs
parents:
diff changeset
     9
// Nokia Corporation - initial contribution.
b8ed18f6c07b 2010wk40
hgs
parents:
diff changeset
    10
//
b8ed18f6c07b 2010wk40
hgs
parents:
diff changeset
    11
// Contributors:
b8ed18f6c07b 2010wk40
hgs
parents:
diff changeset
    12
//
b8ed18f6c07b 2010wk40
hgs
parents:
diff changeset
    13
// Description:
b8ed18f6c07b 2010wk40
hgs
parents:
diff changeset
    14
//
b8ed18f6c07b 2010wk40
hgs
parents:
diff changeset
    15
b8ed18f6c07b 2010wk40
hgs
parents:
diff changeset
    16
b8ed18f6c07b 2010wk40
hgs
parents:
diff changeset
    17
b8ed18f6c07b 2010wk40
hgs
parents:
diff changeset
    18
inline TInt CPlayerCallbackHandler::ID() 
b8ed18f6c07b 2010wk40
hgs
parents:
diff changeset
    19
	{ 
b8ed18f6c07b 2010wk40
hgs
parents:
diff changeset
    20
	return iID; 
b8ed18f6c07b 2010wk40
hgs
parents:
diff changeset
    21
	}
b8ed18f6c07b 2010wk40
hgs
parents:
diff changeset
    22
b8ed18f6c07b 2010wk40
hgs
parents:
diff changeset
    23
inline TInt CStateCallbackHandler::ID() 
b8ed18f6c07b 2010wk40
hgs
parents:
diff changeset
    24
	{ 
b8ed18f6c07b 2010wk40
hgs
parents:
diff changeset
    25
	return iID; 
b8ed18f6c07b 2010wk40
hgs
parents:
diff changeset
    26
	}
b8ed18f6c07b 2010wk40
hgs
parents:
diff changeset
    27
b8ed18f6c07b 2010wk40
hgs
parents:
diff changeset
    28
inline TInt CToneCallbackHandler::ID() 
b8ed18f6c07b 2010wk40
hgs
parents:
diff changeset
    29
	{
b8ed18f6c07b 2010wk40
hgs
parents:
diff changeset
    30
	return iID; 
b8ed18f6c07b 2010wk40
hgs
parents:
diff changeset
    31
	}
b8ed18f6c07b 2010wk40
hgs
parents:
diff changeset
    32
	
b8ed18f6c07b 2010wk40
hgs
parents:
diff changeset
    33
inline CActiveListener::CActiveListener()
b8ed18f6c07b 2010wk40
hgs
parents:
diff changeset
    34
	:CActive(CActive::EPriorityIdle) 
b8ed18f6c07b 2010wk40
hgs
parents:
diff changeset
    35
	{ 
b8ed18f6c07b 2010wk40
hgs
parents:
diff changeset
    36
	CActiveScheduler::Add(this); 
b8ed18f6c07b 2010wk40
hgs
parents:
diff changeset
    37
	}
b8ed18f6c07b 2010wk40
hgs
parents:
diff changeset
    38
b8ed18f6c07b 2010wk40
hgs
parents:
diff changeset
    39
inline void CActiveListener::InitialiseActiveListener()
b8ed18f6c07b 2010wk40
hgs
parents:
diff changeset
    40
	{ 
b8ed18f6c07b 2010wk40
hgs
parents:
diff changeset
    41
	iStatus = KRequestPending; 
b8ed18f6c07b 2010wk40
hgs
parents:
diff changeset
    42
	SetActive(); 
b8ed18f6c07b 2010wk40
hgs
parents:
diff changeset
    43
	}
b8ed18f6c07b 2010wk40
hgs
parents:
diff changeset
    44
b8ed18f6c07b 2010wk40
hgs
parents:
diff changeset
    45
//
b8ed18f6c07b 2010wk40
hgs
parents:
diff changeset
    46
b8ed18f6c07b 2010wk40
hgs
parents:
diff changeset
    47
b8ed18f6c07b 2010wk40
hgs
parents:
diff changeset
    48