Update of /cvsroot/mahogany/M/include/adb
In directory sc8-pr-cvs1:/tmp/cvs-serv18801/include/adb
Modified Files:
AdbDialogs.h AdbEntry.h AdbExport.h AdbImpExp.h ProvPalm.h
Log Message:
Resolved cyclic ref counting in LineBook and brought WeakRef to usable state
Index: AdbDialogs.h
===================================================================
RCS file: /cvsroot/mahogany/M/include/adb/AdbDialogs.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -b -u -2 -r1.4 -r1.5
--- AdbDialogs.h 29 Apr 2002 00:00:53 -0000 1.4
+++ AdbDialogs.h 16 Oct 2003 10:29:23 -0000 1.5
@@ -34,5 +34,5 @@
@return TRUE on success
*/
-extern bool AdbShowExportDialog(const AdbEntryGroup& group);
+extern bool AdbShowExportDialog(AdbEntryGroup& group);
/**
Index: AdbEntry.h
===================================================================
RCS file: /cvsroot/mahogany/M/include/adb/AdbEntry.h,v
retrieving revision 1.27
retrieving revision 1.28
diff -b -u -2 -r1.27 -r1.28
--- AdbEntry.h 22 Aug 2003 09:53:42 -0000 1.27
+++ AdbEntry.h 16 Oct 2003 10:29:23 -0000 1.28
@@ -119,4 +119,5 @@
public:
/// the group this entry/group belongs to (never NULL for these classes)
+ /// It's not IncRef-ed
virtual AdbEntryGroup *GetGroup() const = 0;
@@ -204,8 +205,8 @@
/// get entry by name
- virtual AdbEntry *GetEntry(const String& name) const = 0;
+ virtual AdbEntry *GetEntry(const String& name) = 0;
/// check whether an entry or group by this name exists
- virtual bool Exists(const String& path) const = 0;
+ virtual bool Exists(const String& path) = 0;
/// get the names of all groups, returns the number of them
@@ -225,5 +226,5 @@
/// find entry by name (returns NULL if not found)
- virtual AdbEntry *FindEntry(const wxChar *szName) const = 0;
+ virtual AdbEntry *FindEntry(const wxChar *szName) = 0;
// misc
Index: AdbExport.h
===================================================================
RCS file: /cvsroot/mahogany/M/include/adb/AdbExport.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -b -u -2 -r1.5 -r1.6
--- AdbExport.h 13 Sep 2002 01:27:46 -0000 1.5
+++ AdbExport.h 16 Oct 2003 10:29:23 -0000 1.6
@@ -53,5 +53,5 @@
// filename, directory name or whatever else (if empty, the exporter should
// ask the user)
- virtual bool Export(const AdbEntryGroup& group, const String& dest) = 0;
+ virtual bool Export(AdbEntryGroup& group, const String& dest) = 0;
// export one entry only
Index: AdbImpExp.h
===================================================================
RCS file: /cvsroot/mahogany/M/include/adb/AdbImpExp.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -b -u -2 -r1.3 -r1.4
--- AdbImpExp.h 23 May 2000 17:29:02 -0000 1.3
+++ AdbImpExp.h 16 Oct 2003 10:29:23 -0000 1.4
@@ -49,5 +49,5 @@
// export the given ADB group (recursively) using the specified exporter,
// returns TRUE on success
-extern bool AdbExport(const AdbEntryGroup& group,
+extern bool AdbExport(AdbEntryGroup& group,
AdbExporter& exporter);
Index: ProvPalm.h
===================================================================
RCS file: /cvsroot/mahogany/M/include/adb/ProvPalm.h,v
retrieving revision 1.10
retrieving revision 1.11
diff -b -u -2 -r1.10 -r1.11
--- ProvPalm.h 18 Sep 2003 16:30:43 -0000 1.10
+++ ProvPalm.h 16 Oct 2003 10:29:23 -0000 1.11
@@ -94,5 +94,5 @@
virtual size_t GetGroupNames(wxArrayString& aNames) const;
- virtual AdbEntry *GetEntry(const String& name) const;
+ virtual AdbEntry *GetEntry(const String& name);
virtual AdbEntryGroup *GetGroup(const String& name) const;
@@ -106,5 +106,5 @@
virtual void DeleteGroup(const String& strName);
- virtual AdbEntry *FindEntry(const wxChar *szName) const;
+ virtual AdbEntry *FindEntry(const wxChar *szName);
virtual bool IsReadOnly() const
{
@@ -149,5 +149,5 @@
// AdbEntryGroup
- virtual AdbEntry *GetEntry(const String& name) const
+ virtual AdbEntry *GetEntry(const String& name)
{ return m_pRootGroup->GetEntry(name); }
@@ -173,5 +173,5 @@
{ m_pRootGroup->DeleteGroup(strName); }
- virtual AdbEntry *FindEntry(const wxChar *szName) const
+ virtual AdbEntry *FindEntry(const wxChar *szName)
{ return m_pRootGroup->FindEntry(szName); }
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates