aboutsummaryrefslogblamecommitdiffstats
path: root/src/bookmarks/ephy-bookmarks-import.h
blob: 728acd142f713cadbce92d94ae826d6208c2f8b0 (plain) (tree)
1
2
3
  

                                                  












                                                                        
                                                                                  
  

   



                                                                            






                               
                                          


                                                  

                                                           
 


                                                                 


                                                                 
                                                                 
                                                              
 


                                                                 


           
/*
 *  Copyright © 2003, 2004 Marco Pesenti Gritti
 *  Copyright © 2003, 2004, 2005 Christian Persch
 *
 *  This program is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation; either version 2, or (at your option)
 *  any later version.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with this program; if not, write to the Free Software
 *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 *
 */

#if !defined (__EPHY_EPIPHANY_H_INSIDE__) && !defined (EPIPHANY_COMPILATION)
#error "Only <epiphany/epiphany.h> can be included directly."
#endif

#ifndef EPHY_BOOKMARKS_IMPORT_H
#define EPHY_BOOKMARKS_IMPORT_H

#include "ephy-bookmarks.h"

G_BEGIN_DECLS

#define MOZILLA_BOOKMARKS_DIR   ".mozilla"
#define FIREFOX_BOOKMARKS_DIR_0 ".phoenix"
#define FIREFOX_BOOKMARKS_DIR_1 ".firefox"
#define FIREFOX_BOOKMARKS_DIR_2 ".mozilla/firefox"
#define GALEON_BOOKMARKS_DIR    ".galeon"
#define KDE_BOOKMARKS_DIR   ".kde/share/apps/konqueror"

gboolean ephy_bookmarks_import         (EphyBookmarks *bookmarks,
                    const char *filename);

gboolean ephy_bookmarks_import_mozilla (EphyBookmarks *bookmarks,
                    const char *filename);

gboolean ephy_bookmarks_import_xbel    (EphyBookmarks *bookmarks,
                    const char *filename);

gboolean ephy_bookmarks_import_rdf     (EphyBookmarks *bookmarks,
                    const char *filename);

G_END_DECLS

#endif