]> sigrok.org Git - pulseview.git/blobdiff - pv/binding/binding.hpp
Use alphabetical order for #includes.
[pulseview.git] / pv / binding / binding.hpp
index 4854bd6c81635e3c3ce824d56656d6a6a7d02978..e672ff176f24a5301026e519057b47b0db0b263f 100644 (file)
@@ -14,8 +14,7 @@
  * 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 St, Fifth Floor, Boston, MA  02110-1301 USA
+ * along with this program; if not, see <http://www.gnu.org/licenses/>.
  */
 
 #ifndef PULSEVIEW_PV_BINDING_BINDING_HPP
@@ -27,11 +26,14 @@ G_GNUC_BEGIN_IGNORE_DEPRECATIONS
 #include <glibmm.h>
 G_GNUC_END_IGNORE_DEPRECATIONS
 
-#include <vector>
 #include <memory>
+#include <vector>
 
 #include <QString>
 
+using std::shared_ptr;
+using std::vector;
+
 class QFormLayout;
 class QWidget;
 
@@ -46,7 +48,7 @@ namespace binding {
 class Binding
 {
 public:
-       const std::vector< std::shared_ptr<prop::Property> >& properties();
+       const vector< shared_ptr<prop::Property> >& properties();
 
        void commit();
 
@@ -59,10 +61,10 @@ public:
        static QString print_gvariant(Glib::VariantBase gvar);
 
 protected:
-       std::vector< std::shared_ptr<prop::Property> > properties_;
+       vector< shared_ptr<prop::Property> > properties_;
 };
 
-} // binding
-} // pv
+}  // namespace binding
+}  // namespace pv
 
 #endif // PULSEVIEW_PV_BINDING_BINDING_HPP