javaruntimes/midp/runtime/src/platformimpl.h
author William Roberts <williamr@symbian.org>
Fri, 18 Jun 2010 16:27:48 +0100
branchGCC_SURGE
changeset 41 6918cb13caa7
parent 21 2a9601315dfc
permissions -rw-r--r--
Apply Bug 3029 workaround to S^4 in GCC_SURGE branch

/*
* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:  Platform dependent implementations.
 *
*/


#ifndef PLATFORMIMPL_H
#define PLATFORMIMPL_H

#include <string>

/**
* Will decrement applicable stateful rights such as play counts where
* necessary.
* @param uri Uri for the file.
* @param drmContentId  A unique DRM content id.
* @param status Status string of the operation. Will be empty on success
*               cases, but will contain some understandable error text
*               in failure cases.
* @param startPhase true if starting MIDlet, false if closing.
* @param handle A handle to platform dependent object.
*/
void consumeRigthsImpl(const std::wstring& uri,
                       const std::wstring& drmContentId,
                       std::string& status,
                       bool startPhase,
                       int& handle);


#endif // PLATFORMIMPL_H