libraries/qr3/src/objectlist.cpp
changeset 69 849a0b46c767
parent 0 7f656887cf89
equal deleted inserted replaced
68:6a26ca985d90 69:849a0b46c767
     7 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     8 // 
     8 // 
     9 // Initial Contributors:
     9 // Initial Contributors:
    10 // Accenture - Initial contribution
    10 // Accenture - Initial contribution
    11 //
    11 //
       
    12 #include <fshell/common.mmh>
    12 #include <fshell/qr3dll.h>
    13 #include <fshell/qr3dll.h>
    13 #include "KernLbxModel.h"
       
    14 #include "Utils.h"
    14 #include "Utils.h"
    15 #include <e32uid.h>
    15 #include <e32uid.h>
    16 #include <fshell/common.mmh>
       
    17 #include <apgcli.h>
    16 #include <apgcli.h>
       
    17 
       
    18 #ifdef FSHELL_MEMORY_ACCESS_SUPPORT
       
    19 
       
    20 #include "KernLbxModel.h"
    18 
    21 
    19 EXPORT_C CKernelObjectList* CKernelObjectList::NewL(RMemoryAccess* aMemAccess)
    22 EXPORT_C CKernelObjectList* CKernelObjectList::NewL(RMemoryAccess* aMemAccess)
    20 	{
    23 	{
    21 	CKernelObjectList* self = new(ELeave) CKernelObjectList(aMemAccess);
    24 	CKernelObjectList* self = new(ELeave) CKernelObjectList(aMemAccess);
    22 	CleanupStack::PushL(self);
    25 	CleanupStack::PushL(self);
   115 CKernelObjectList::~CKernelObjectList()
   118 CKernelObjectList::~CKernelObjectList()
   116 	{
   119 	{
   117 	delete iModel;
   120 	delete iModel;
   118 	delete gPlugin;
   121 	delete gPlugin;
   119 	}
   122 	}
       
   123 
       
   124 #else // not FSHELL_MEMORY_ACCESS_SUPPORT
       
   125 
       
   126 EXPORT_C CKernelObjectList* CKernelObjectList::NewL(RMemoryAccess*)
       
   127 	{
       
   128 	User::Leave(KErrNotSupported);
       
   129 	return NULL;
       
   130 	}
       
   131 
       
   132 EXPORT_C void CKernelObjectList::SetCurrentType(TKernelObjectType)
       
   133 	{
       
   134 	}
       
   135 
       
   136 EXPORT_C void CKernelObjectList::RefreshDataL(TInt)
       
   137 	{
       
   138 	}
       
   139 
       
   140 EXPORT_C MQikListBoxModel* CKernelObjectList::GetQikListBoxModel()
       
   141 	{
       
   142 	return NULL;
       
   143 	}
       
   144 
       
   145 EXPORT_C TInt CKernelObjectList::Count() const
       
   146 	{
       
   147 	return 0;
       
   148 	}
       
   149 
       
   150 EXPORT_C void CKernelObjectList::GetInfoL(TInt, RBuf&, RBuf&)
       
   151 	{
       
   152 	}
       
   153 
       
   154 EXPORT_C void CKernelObjectList::GetVerboseInfoL(TInt, RBuf&, RBuf&)
       
   155 	{
       
   156 	}
       
   157 
       
   158 EXPORT_C void CKernelObjectList::GetInfoByIdL(TInt, TBool, RBuf&, RBuf&)
       
   159 	{
       
   160 	}
       
   161 
       
   162 EXPORT_C TInt CKernelObjectList::GetInfoByIndexL(TInt, TBool, RBuf&, RBuf&)
       
   163 	{
       
   164 	return 0;
       
   165 	}
       
   166 
       
   167 EXPORT_C void CKernelObjectList::DumpAllInfoL(RClogger&)
       
   168 	{
       
   169 	}
       
   170 
       
   171 EXPORT_C void CKernelObjectList::SetInfoChangedCallback(TInt, const TCallBack&)
       
   172 	{
       
   173 	}
       
   174 
       
   175 #endif // FSHELL_MEMORY_ACCESS_SUPPORT
   120 
   176 
   121 
   177 
   122 void GetNameFromApparcL(TUint aSid, RBuf& aName);
   178 void GetNameFromApparcL(TUint aSid, RBuf& aName);
   123 void GetNameFromFsL(TUint aSid, RBuf& aName);
   179 void GetNameFromFsL(TUint aSid, RBuf& aName);
   124 
   180