equal
deleted
inserted
replaced
14 * Description: |
14 * Description: |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 |
18 |
19 #include "content.h" |
19 #include <caf/content.h> |
20 #include "resolver.h" |
20 #include "resolver.h" |
21 #include "data.h" |
21 #include <caf/data.h> |
22 #include "agentfactory.h" |
22 #include <caf/agentfactory.h> |
23 #include "agentinfo.h" |
23 #include "agentinfo.h" |
24 #include "agentinterface.h" |
24 #include <caf/agentinterface.h> |
25 #include "attributeset.h" |
25 #include <caf/attributeset.h> |
26 #include "agent.h" |
26 #include <caf/agent.h> |
27 #include "virtualpath.h" |
27 #include <caf/virtualpath.h> |
28 #include "agentfactory.h" |
28 #include <caf/agentfactory.h> |
29 |
29 |
30 #ifndef REMOVE_CAF1 |
30 #ifndef REMOVE_CAF1 |
31 #include "attribute.h" |
31 #include <caf/attribute.h> |
32 #include "bitset.h" |
32 #include <caf/bitset.h> |
33 #endif |
33 #endif |
34 |
34 |
35 using namespace ContentAccess; |
35 using namespace ContentAccess; |
36 |
36 |
37 EXPORT_C CContent* CContent::NewLC(const TDesC& aURI) |
37 EXPORT_C CContent* CContent::NewLC(const TDesC& aURI) |
101 { |
101 { |
102 // Make our own copy of the file handle |
102 // Make our own copy of the file handle |
103 User::LeaveIfError(iFile.Duplicate(aFile)); |
103 User::LeaveIfError(iFile.Duplicate(aFile)); |
104 |
104 |
105 // Rewind the file pointer |
105 // Rewind the file pointer |
|
106 #ifdef SYMBIAN_ENABLE_64_BIT_FILE_SERVER_API |
|
107 TInt64 pos = 0; |
|
108 #else |
106 TInt pos = 0; |
109 TInt pos = 0; |
|
110 #endif //SYMBIAN_ENABLE_64_BIT_FILE_SERVER_API |
|
111 |
107 iFile.Seek(ESeekStart, pos); |
112 iFile.Seek(ESeekStart, pos); |
108 |
113 |
109 // For case where CAF is built with an RFile |
114 // For case where CAF is built with an RFile |
110 CAgentResolver* resolver = CAgentResolver::NewLC(EFalse); |
115 CAgentResolver* resolver = CAgentResolver::NewLC(EFalse); |
111 |
116 |
385 |
390 |
386 #endif // REMOVE_CAF1 |
391 #endif // REMOVE_CAF1 |
387 |
392 |
388 |
393 |
389 // DLL entry point - only for EKA1 |
394 // DLL entry point - only for EKA1 |
|
395 |
|
396 |
|
397 |
|
398 |