ratings.h 1.24 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
/*
    This file is part of darktable,
    copyright (c) 2011 henrik andersson.

    darktable 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 3 of the License, or
    (at your option) any later version.

    darktable 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 darktable.  If not, see <http://www.gnu.org/licenses/>.
*/

19
#pragma once
20

21
#include "common/darktable.h"
22 23 24 25 26
#include <gtk/gtk.h>

/** \brief applies specified rating to selected images */
void dt_ratings_apply_to_selection(int rating);

27
/** apply rating to the specified image */
28
void dt_ratings_apply_to_image(int imgid, int rating);
29

Richard Wonka's avatar
Richard Wonka committed
30
// modelines: These editor modelines have been set for all relevant files by tools/update_modelines.sh
31
// vim: shiftwidth=2 expandtab tabstop=2 cindent
Tobias Ellinghaus's avatar
Tobias Ellinghaus committed
32
// kate: tab-indents: off; indent-width 2; replace-tabs on; indent-mode cstyle; remove-trailing-spaces modified;