| 1 | # Copyright 2007, 2008, 2009, 2011 Kevin Ryde | ||
| 2 | |||
| 3 | # This file is part of Chart. | ||
| 4 | # | ||
| 5 | # Chart is free software; you can redistribute it and/or modify it under the | ||
| 6 | # terms of the GNU General Public License as published by the Free Software | ||
| 7 | # Foundation; either version 3, or (at your option) any later version. | ||
| 8 | # | ||
| 9 | # Chart is distributed in the hope that it will be useful, but WITHOUT ANY | ||
| 10 | # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS | ||
| 11 | # FOR A PARTICULAR PURPOSE. See the GNU General Public License for more | ||
| 12 | # details. | ||
| 13 | # | ||
| 14 | # You should have received a copy of the GNU General Public License along | ||
| 15 | # with Chart. If not, see <http://www.gnu.org/licenses/>. | ||
| 16 | |||
| 17 | package App::Chart::Gtk2::Symlist::All; | ||
| 18 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 19 | 1 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 20 | 1 | ▶ | use Carp; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 21 | 1 | ▶ | use Scalar::Util; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 22 | 1 | ▶ | use Locale::TextDomain ('App-Chart'); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 23 | |||
| 24 | 1 | ▶ | use App::Chart; |
|
Subroutine
BEGIN: called CC=1 SCAR=2.6
| |||
| 25 | |||
| 26 | use App::Chart::Gtk2::Symlist::Alphabetical; | ||
| 27 | use Glib::Object::Subclass | ||
| 28 | 'App::Chart::Gtk2::Symlist::Alphabetical'; | ||
| 29 | |||
| 30 | sub name { return __('All') } | ||
| 31 | |||
| 32 | sub instance { | ||
| 33 | my ($class) = @_; | ||
| 34 | return $class->new_from_key ('all'); | ||
| 35 | } | ||
| 36 | |||
| 37 | 1; | ||
| 38 | __END__ | ||
| 39 | |||
| 40 | # sub symbol_list { | ||
| 41 | # my ($self) = @_; | ||
| 42 | # my $dbh = App::Chart::DBI->instance; | ||
| 43 | # my $sth = $dbh->prepare_cached | ||
| 44 | # ('SELECT symbol FROM info WHERE NOT historical ORDER BY symbol ASC'); | ||
| 45 | # my $aref = $dbh->selectcol_arrayref ($sth); | ||
| 46 | # $sth->finish(); | ||
| 47 | # return $aref; | ||
| 48 | # } | ||
| 49 | |||