remotestoragefw/remotefileengine/inc/rsfwattributerefreshingstatemachine.h
branchRCL_3
changeset 16 1aa8c82cb4cb
parent 0 3ad9d5175a89
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/remotestoragefw/remotefileengine/inc/rsfwattributerefreshingstatemachine.h	Wed Sep 01 12:15:08 2010 +0100
@@ -0,0 +1,45 @@
+/*
+* Copyright (c) 2005-2006 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:  States that need to refresh file or directory attributes
+*
+*/
+
+#ifndef C_RSFW_ATTRIBUTEREFRESHINGSTATEMACHINE_H
+#define C_RSFW_ATTRIBUTEREFRESHINGSTATEMACHINE_H
+
+#include "rsfwrfestatemachine.h"
+
+// FORWARD DECLARATIONS
+class CRsfwDirEntAttr;
+
+/**
+ *  Parent class for operations that need to refresh file or 
+ *	directory attributes.
+ *
+ */
+ class CRsfwAttributeRefreshingStateMachine : public CRsfwRfeStateMachine   
+    {
+ public:
+    ~CRsfwAttributeRefreshingStateMachine(); 
+ public:
+    // file or directory attributes
+    CRsfwDirEntAttr* iDirEntAttr;
+    // The old attributes for a cached file or directory.  
+    // Comparing the tells whether the actual data must 
+    // be fetched from the server.
+    CRsfwDirEntAttr* iDirEntAttrOld;    
+    };
+
+
+#endif // C_RSFW_ATTRIBUTEREFRESHINGSTATEMACHINE_H
\ No newline at end of file