Blame src/nautilus-pathbar.h

Packit a189e0
/* nautilus-pathbar.h
Packit a189e0
 *
Packit a189e0
 * This library is free software; you can redistribute it and/or
Packit a189e0
 * modify it under the terms of the GNU Library General Public
Packit a189e0
 * License as published by the Free Software Foundation; either
Packit a189e0
 * version 2 of the License, or (at your option) any later version.
Packit a189e0
 *
Packit a189e0
 * This library is distributed in the hope that it will be useful,
Packit a189e0
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit a189e0
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit a189e0
 * Library General Public License for more details.
Packit a189e0
 *
Packit a189e0
 * You should have received a copy of the GNU Library General Public
Packit a189e0
 * License along with this library; if not, see <http://www.gnu.org/licenses/>.
Packit a189e0
 *
Packit a189e0
 * 
Packit a189e0
 */
Packit a189e0
Packit a189e0
#ifndef NAUTILUS_PATHBAR_H
Packit a189e0
#define NAUTILUS_PATHBAR_H
Packit a189e0
Packit a189e0
#include <gtk/gtk.h>
Packit a189e0
#include <gio/gio.h>
Packit a189e0
Packit a189e0
#define NAUTILUS_TYPE_PATH_BAR (nautilus_path_bar_get_type ())
Packit a189e0
G_DECLARE_DERIVABLE_TYPE (NautilusPathBar, nautilus_path_bar, NAUTILUS, PATH_BAR, GtkContainer)
Packit a189e0
Packit a189e0
struct _NautilusPathBarClass
Packit a189e0
{
Packit a189e0
	GtkContainerClass parent_class;
Packit a189e0
Packit a189e0
	void     (* path_clicked)   (NautilusPathBar  *self,
Packit a189e0
				     GFile            *location);
Packit a189e0
        void     (* open_location)  (NautilusPathBar   *self,
Packit a189e0
                                     GFile             *location,
Packit a189e0
                                     GtkPlacesOpenFlags flags);
Packit a189e0
};
Packit a189e0
void     nautilus_path_bar_set_path    (NautilusPathBar *self, GFile *file);
Packit a189e0
Packit a189e0
#endif /* NAUTILUS_PATHBAR_H */