contentmgmt/contentaccessfwfordrm/source/caf/Agentfactory.cpp
changeset 8 35751d3474b7
parent 0 2c201484c85f
child 15 da2ae96f639b
equal deleted inserted replaced
2:675a964f4eb5 8:35751d3474b7
    14 * Description: 
    14 * Description: 
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 
    18 
       
    19 
    19 #include <ecom/ecom.h>
    20 #include <ecom/ecom.h>
    20 #include "agentfactory.h"
    21 #include <caf/agentfactory.h>
    21 #include "agentinterface.h"
    22 #include <caf/agentinterface.h>
    22 #include "caferr.h"
    23 #include <caf/caferr.h>
    23 
    24 
    24 using namespace ContentAccess;
    25 using namespace ContentAccess;
    25 
    26 
    26 
    27 
    27 CAgentFactory* CAgentFactory::NewL(TUid aUid)
    28 CAgentFactory* CAgentFactory::NewL(TUid aUid)
    62 
    63 
    63 EXPORT_C TInt CAgentData::Read(TInt /* aPos */, TDes8& /* aDes */, TInt /* aLength */, TRequestStatus& /* aStatus */)
    64 EXPORT_C TInt CAgentData::Read(TInt /* aPos */, TDes8& /* aDes */, TInt /* aLength */, TRequestStatus& /* aStatus */)
    64 	{
    65 	{
    65 	return KErrCANotSupported;
    66 	return KErrCANotSupported;
    66 	}
    67 	}
    67 	
    68 
       
    69 #ifdef SYMBIAN_ENABLE_64_BIT_FILE_SERVER_API
       
    70 EXPORT_C TInt CAgentData::Read64(TInt64 /* aPos */, TDes8& /* aDes */, TInt /* aLength */, TRequestStatus& /* aStatus */)
       
    71 	{
       
    72 	return KErrCANotSupported;
       
    73 	}
       
    74 
       
    75 EXPORT_C void CAgentData::DataSize64L(TInt64& /*aSize*/)
       
    76 	{
       
    77 	User::Leave(KErrCANotSupported);
       
    78 	}
       
    79 
       
    80 EXPORT_C TInt CAgentData::Seek64(TSeek /*aMode*/, TInt64& /*aPos*/)
       
    81 	{
       
    82 	return KErrCANotSupported;
       
    83 	}
       
    84 #endif // SYMBIAN_ENABLE_64_BIT_FILE_SERVER_API
       
    85 
    68 EXPORT_C void CAgentData::ReadCancel(TRequestStatus&)
    86 EXPORT_C void CAgentData::ReadCancel(TRequestStatus&)
    69 	{	
    87 	{	
    70 	}
    88 	}
       
    89 
       
    90 EXPORT_C void CAgentRightsManager::ListRightsL(RStreamablePtrArray<CRightsInfo>& /* aArray */, RFile& /* aFile */, const TDesC& /* aUniqueId */) const
       
    91 	{
       
    92 	User::Leave(KErrCANotSupported);
       
    93 	}
       
    94 
       
    95 EXPORT_C TInt CAgentRightsManager::DeleteAllRightsObjects (RFile& /* aFile */, const TDesC& /* aUniqueId */) 
       
    96 	{
       
    97 	return KErrCANotSupported;
       
    98 	}
       
    99 	
       
   100 EXPORT_C TInt CAgentManager::GetAttribute(TInt /* aAttribute */, TInt& /* aValue */, RFile& /* aFile */, const TDesC& /* aUniqueId */) 	
       
   101 	{
       
   102 	return KErrCANotSupported;
       
   103 	}
       
   104 	
       
   105 EXPORT_C TInt CAgentManager::GetAttributeSet(RAttributeSet& /* aAttributeSet */, RFile& /* aFile */, const TDesC& /* aUniqueId */) 
       
   106 	{
       
   107 	return KErrCANotSupported;
       
   108 	}
       
   109 	
       
   110 EXPORT_C TInt CAgentManager::GetStringAttribute(TInt /* aAttribute */, TDes& /* aValue */, RFile& /* aFile */, const TDesC& /* aUniqueId */) 
       
   111 	{
       
   112 	return KErrCANotSupported;
       
   113 	}	
       
   114 
       
   115 EXPORT_C TInt CAgentManager::GetStringAttributeSet(RStringAttributeSet& /* aStringAttributeSet */, RFile& /* aFile */, const TDesC& /* aUniqueId */) 
       
   116 	{
       
   117 	return KErrCANotSupported;
       
   118 	}
       
   119 
       
   120 EXPORT_C void CAgentManager::DisplayInfoL (TDisplayInfo /* aInfo */, RFile& /* aFile */, const TDesC& /* aUniqueId */)
       
   121 	{
       
   122 	User::Leave(KErrCANotSupported);
       
   123 	}
       
   124