This file is indexed.

/usr/include/vdk2/vdk/vdkgnomededit.h is in libvdk2-dev 2.4.0-5.5.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
/*
 * ===========================
 * VDK Visual Develeopment Kit
 * Version 1.0.4
 * December 1999
 * ===========================
 *
 * Copyright (C) 1998, Mario Motta
 * Developed by Mario Motta <mmotta@guest.net>
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Library General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * This library 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
 * Library General Public License for more details.
 *
 * You should have received a copy of the GNU Library General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 * 02111-1307, USA.
 */

#ifndef GNOME_DATE_EDIT_H
#define GNOME_DATE_EDIT_H

#if HAVE_GNOME
#include <vdk/vdkobj.h>
#include <vdk/vdkdate.h>
#include <gnome.h>
class VDKForm;
/*!
  \class VDKGnomeDateEdit
  \brief Provides a gnome date edit

  VDKGnomeDateEdit acts like a normal entry widget, but
  can show a "time" field as well.
  A button is added to the widget that can be used to pop
  up a calendar widget. Actually support english date format
  only (mmddyyyy), there are plans to support also european
  format in the next future.
 */
class VDKGnomeDateEdit: public VDKObject
{
 protected:
    VDKObjectSignal s_activated;
    void ConnectSignals();
    static int FocusInEvent(GtkWidget *,
			    GdkEventFocus *,
			    gpointer wid);
    static int FocusOutEvent(GtkWidget *,
			    GdkEventFocus *,
			    gpointer wid);
    static void HandleDateChange(GtkWidget *wid, gpointer gp);
    static void HandleTimeChange(GtkWidget *wid, gpointer gp);
    // either mmddyyyy or ddmmyyyy	
    // reserved for future use,
    // doesn't work now, waiting for i18n
    // of gnome date edit widget.
    int mode;
 public:
    /*!
      Sets/gets absolute time in time_t format
     */
    VDKReadWriteValueProp<VDKGnomeDateEdit, time_t> AbsoluteTime;
    /*!
      Sets/gets date as calendardate object.
     */
    VDKReadWriteValueProp<VDKGnomeDateEdit, calendardate> Date;
    /*!
      Constructor
      \param owner
      \param the_time initializing date value
      \param show_time 
      \param mode either mmddyyyy or ddmmyyyy (only the former supported)
     */
    VDKGnomeDateEdit(VDKForm* owner,
		     time_t the_time = (time_t) NULL,
		     bool show_time = false,
		     bool format24 = true,
		     int mode = mmddyyyy);
    /*!
      Constructor
      \param owner
      \param the_date initializing date string, 
      should be in "mm/dd/yyyy" format.
      \param show_time 
      \param mode either mmddyyyy or ddmmyyyy 
      (actually unused and forced to be mmddyyyy)
     */
    VDKGnomeDateEdit(VDKForm* owner,
		     char* the_date = NULL,
		     bool show_time = false,
		     bool format24 = true,
		     int mode = mmddyyyy);
    /*!
      Destructor
     */
 virtual ~VDKGnomeDateEdit();
 /*!
   Sets absolute time
   \param t time_t value
  */
 void SetAbsoluteTime(time_t t)
   {
     gnome_date_edit_set_time (GNOME_DATE_EDIT(Widget()), t);
   }
 /*!
   Gets absolute time
  */
 time_t	GetAbsoluteTime()
   {
     return gnome_date_edit_get_date (GNOME_DATE_EDIT(Widget()));
   }
 /*!
   Set date
   \param d calendardate reference.
  */
 void SetDate(calendardate d);
 /*!
   Gets date
 */
 calendardate GetDate();	
};
#endif

#endif