diff -r f5050f1da672 -r 04becd199f91 javaruntimes/midp/runtime/src/platformimpl.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/javaruntimes/midp/runtime/src/platformimpl.h Tue Apr 27 16:30:29 2010 +0300 @@ -0,0 +1,42 @@ +/* +* 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 + +/** +* 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